PHPackages                             unloq/unloq-php-sdk - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. unloq/unloq-php-sdk

AbandonedArchivedProject[Authentication &amp; Authorization](/categories/authentication)

unloq/unloq-php-sdk
===================

UNLOQ PHP SDK provides methods for all of UNLOQ API functionalities

1.1.1(8y ago)343MITPHPPHP &gt;=5.6

Since Nov 3Pushed 8y ago5 watchersCompare

[ Source](https://github.com/UNLOQIO/unloq-php-sdk)[ Packagist](https://packagist.org/packages/unloq/unloq-php-sdk)[ RSS](/packages/unloq-unloq-php-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

UNLOQ PHP SDK
=============

[](#unloq-php-sdk)

Implements methods to easily interact with UNLOQ RESTful API.

Installation
------------

[](#installation)

The SDK can be installed easily with the usage of Composer. You can install Composer with the following command:

```
curl -sS https://getcomposer.org/installer | php
```

**Next**, install UNLOQ PHP SDK by using the following composer command:

```
composer require unloq/unloq-php-sdk
```

Usage
-----

[](#usage)

You can find general usage examples in `docs/` folder under **general.md**.

We got covered:

- UNLOQ use cases;
- general usage of UNLOQ PHP SDK:
    - initialization;
    - making different types of requests;
    - positive and negative response formats;
    - different errorCodes that might be returned and the causes.
- implementing UNLOQ Authentication
    - requirements;
    - authentication through 'EMAIL' method;
    - authentication through 'UNLOQ' method;
    - authentication through 'OTP' method;
    - errorCodes that might occur and the causes.

A more indepth documentation can be found in **laravel.md**. This discusses implementing a passwordless authentication over the Laravel's authentication.

Support and Feedback
--------------------

[](#support-and-feedback)

Please visit UNLOQ [documentation website](https://docs.unloq.io) for more information.

If you find a bug, please submit the issue in Github directly.

If you require additional assistance, send us a message through the form on our [contact page](https://unloq.io/contact)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 92.3% of commits — single point of failure

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

Total

5

Last Release

3085d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c8949cfc1a10336c59ee09f38886fd106ec160a1d86e5383b5b64377303feee?d=identicon)[florinppopescu](/maintainers/florinppopescu)

---

Top Contributors

[![florinlts](https://avatars.githubusercontent.com/u/38281689?v=4)](https://github.com/florinlts "florinlts (12 commits)")[![snupa](https://avatars.githubusercontent.com/u/6563652?v=4)](https://github.com/snupa "snupa (1 commits)")

---

Tags

Authentication2faTwo Factor AuthenticationMulti Factor Authenticationphp-2faunloqUNLOQ Two Factor Authentication

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[pragmarx/google2fa

A One Time Password Authentication package, compatible with Google Authenticator.

2.0k82.4M164](/packages/pragmarx-google2fa)[robthree/twofactorauth

Two Factor Authentication

1.2k10.5M66](/packages/robthree-twofactorauth)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

120220.7k1](/packages/ellaisys-aws-cognito)[pragmarx/google2fa-qrcode

QR Code package for Google2FA

12024.6M37](/packages/pragmarx-google2fa-qrcode)[remotemerge/totp-php

Lightweight, fast, and secure TOTP (2FA) authentication library for PHP — battle tested, dependency free, and ready for enterprise integration.

2010.2k](/packages/remotemerge-totp-php)[paragonie/multi-factor

Vendor-agnostic two-factor authentication library

142195.5k2](/packages/paragonie-multi-factor)

PHPackages © 2026

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