PHPackages                             authsignal/authsignal-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. authsignal/authsignal-php

ActiveLibrary

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.

v4.5.0(2mo ago)128.0k↓40.9%4[1 issues](https://github.com/authsignal/authsignal-php/issues)MITPHPCI passing

Since Jul 25Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/authsignal/authsignal-php)[ Packagist](https://packagist.org/packages/authsignal/authsignal-php)[ RSS](/packages/authsignal-authsignal-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (43)Used By (0)

[![Authsignal](https://raw.githubusercontent.com/authsignal/authsignal-php/main/.github/images/authsignal.png)](https://raw.githubusercontent.com/authsignal/authsignal-php/main/.github/images/authsignal.png)

Authsignal PHP SDK
==================

[](#authsignal-php-sdk)

[![License](https://camo.githubusercontent.com/71afd1658585680aecf0646f339598369c59ed8067c3b4e778ebadeb1f619be9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f617574687369676e616c2f617574687369676e616c2d7068702e737667)](https://github.com/authsignal/authsignal-php/blob/main/LICENSE)

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
------------

[](#installation)

Using Composer:

```
composer require authsignal/authsignal-php
```

Getting Started
---------------

[](#getting-started)

Initialize the Authsignal client with your secret key from the [Authsignal Portal](https://portal.authsignal.com/) 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

[](#api-urls-by-region)

RegionAPI URLUS (Oregon)AU (Sydney)EU (Dublin)License
-------

[](#license)

This SDK is licensed under the [MIT License](LICENSE).

Documentation
-------------

[](#documentation)

For more information and advanced usage examples, refer to the official [Authsignal Server-Side SDK documentation](https://docs.authsignal.com/sdks/server/overview).

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance65

Regular maintenance activity

Popularity32

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~57 days

Recently: every ~75 days

Total

24

Last Release

75d ago

Major Versions

0.1.5 → 1.0.02023-11-23

1.0.3 → 2.0.02024-05-02

2.0.2 → 3.0.02024-10-29

3.0.1 → 4.0.02024-12-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ded44a2da56bb0c453a8788e97532cf2ccdd576e3fb0c7ea4f3643217639586?d=identicon)[justinsoong](/maintainers/justinsoong)

---

Top Contributors

[![stevenclouston](https://avatars.githubusercontent.com/u/13467810?v=4)](https://github.com/stevenclouston "stevenclouston (30 commits)")[![justinsoong](https://avatars.githubusercontent.com/u/855172?v=4)](https://github.com/justinsoong "justinsoong (11 commits)")[![Ashutosh-Bhadauriya](https://avatars.githubusercontent.com/u/62984427?v=4)](https://github.com/Ashutosh-Bhadauriya "Ashutosh-Bhadauriya (9 commits)")[![aaronzhongg](https://avatars.githubusercontent.com/u/14045995?v=4)](https://github.com/aaronzhongg "aaronzhongg (4 commits)")[![hwhmeikle](https://avatars.githubusercontent.com/u/19391152?v=4)](https://github.com/hwhmeikle "hwhmeikle (3 commits)")[![chrisfisher](https://avatars.githubusercontent.com/u/11012882?v=4)](https://github.com/chrisfisher "chrisfisher (1 commits)")[![morganfrenchstagg](https://avatars.githubusercontent.com/u/18430080?v=4)](https://github.com/morganfrenchstagg "morganfrenchstagg (1 commits)")[![nicekiwi](https://avatars.githubusercontent.com/u/738975?v=4)](https://github.com/nicekiwi "nicekiwi (1 commits)")[![BraunLukas](https://avatars.githubusercontent.com/u/9606400?v=4)](https://github.com/BraunLukas "BraunLukas (1 commits)")[![vkpreno](https://avatars.githubusercontent.com/u/215558779?v=4)](https://github.com/vkpreno "vkpreno (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/authsignal-authsignal-php/health.svg)

```
[![Health](https://phpackages.com/badges/authsignal-authsignal-php/health.svg)](https://phpackages.com/packages/authsignal-authsignal-php)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k96.9M674](/packages/laravel-socialite)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[google/auth

Google Auth Library for PHP

1.4k272.7M162](/packages/google-auth)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
