authsignal / authsignal-php
Authsignal is a drop-in solution that adds modern authentication to your app with minimal coding. Quickly implement passkeys, context-aware MFA, and passwordless login options like biometrics, push notifications, OTP, and TOTP—all working seamlessly with your existing identity stack.
Installs: 22 095
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 3
Open Issues: 0
pkg:composer/authsignal/authsignal-php
Requires
- firebase/php-jwt: ^6.8
Requires (Dev)
- donatj/mock-webserver: ^2.5
- phpunit/phpunit: ^9.5
- dev-main
- v4.3.0
- v4.2.0
- v4.1.2
- v4.1.1
- v4.1.0
- 4.0.0
- 3.0.1
- 3.0.0
- 2.0.2
- 2.0.0
- 1.0.3.x-dev
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-update-readme
- dev-fix-rename-device-methods
- dev-update-readme-docs
- dev-add-challenge-methods
- dev-implement-webhook
- dev-enhancement/pr-template
- dev-snake-case-user-agent
- dev-fix-release-drafter
- dev-include-version-header
- dev-release-drafter
- dev-codeowners
- dev-AUT-1445-PHP7Compat
- dev-justinsoong-patch-1
- dev-AUT-1442-AllowOptionaUserId
- dev-AUT-1440-AddValidateChallenge
- dev-guzzle-experiment
This package is auto-updated.
Last update: 2025-10-15 06:23:42 UTC
README
Authsignal PHP SDK
The official Authsignal PHP library for server-side applications. Use this SDK to easily integrate Authsignal's multi-factor authentication (MFA) and passwordless features into your PHP backend.
Installation
Using Composer:
composer require authsignal/authsignal-php
Getting Started
Initialize the Authsignal client with your secret key from the Authsignal Portal and the API URL for your region.
use Authsignal; // Initialize the client Authsignal::setApiSecretKey(getenv('AUTHSIGNAL_SECRET_KEY')); Authsignal::setApiUrl(getenv('AUTHSIGNAL_API_URL')); // Use region-specific URL
API URLs by Region
| Region | API URL |
|---|---|
| US (Oregon) | https://api.authsignal.com/v1 |
| AU (Sydney) | https://au.api.authsignal.com/v1 |
| EU (Dublin) | https://eu.api.authsignal.com/v1 |
License
This SDK is licensed under the MIT License.
Documentation
For more information and advanced usage examples, refer to the official Authsignal Server-Side SDK documentation.
