PHPackages                             userbase/client - 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. userbase/client

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

userbase/client
===============

UserBase PHP Client: Identity + Login + Signup Service

v3.2.1(3y ago)58.9k—0%5[2 issues](https://github.com/linkorb/userbase-client-php/issues)2PHPPHP &gt;=8.0.2

Since May 26Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/linkorb/userbase-client-php)[ Packagist](https://packagist.org/packages/userbase/client)[ Docs](http://www.github.com/userbase-project/userbase-client-php)[ RSS](/packages/userbase-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (54)Used By (2)

Warning

This is a read-only repository used to release the subtree. Any issues and pull requests should be forwarded to the upstream [Nebula repository](https://github.com/linkorb/nebula).

Userbase client for PHP
=======================

[](#userbase-client-for-php)

About Userbase
--------------

[](#about-userbase)

Userbase is a micro-service with a REST/JSON API that manages users, organizations and api keys.

A Userbase Client can make calls to a Userbase Server authenticate users, get account details, etc.

Usage
-----

[](#usage)

### Instantiate the client

[](#instantiate-the-client)

Instantiate a new client object:

```
$url = 'https://joe:secret@userbase.example.com';
$client = new Client($url);
```

The provided credentials need to have "Admin" privileges on the Userbase Server.

### Check credentials

[](#check-credentials)

```
if (!$client->checkCredentials('alice', 'shhhh')) {
  exit('Invalid credentials');
}
echo 'Welcome back!';
```

Testing/Development
-------------------

[](#testingdevelopment)

The `examples/` directory contains a few example scripts that you can use during testing and development.

First, copy the `.env.dist` file to `.env`. Edit the contents to match your Userbase server and credentials.

```
cp .env.dist .env e
edit .env # Edit configuration, database settings etc
 ./vendor/bin/envoi validate  # Run command validate based on meta file .env.yaml
```

Then you can simply execute the examples like this:

```
php examples/checkcredentials.php alice sshhh

```

Please refer to the `examples/` directory for other examples.

Integrations
------------

[](#integrations)

### Silex

[](#silex)

A Silex Provider is available [here](https://github.com/linkorb/silex-provider-userbase-client)

### Symfony

[](#symfony)

A Symfony bundle can be found [here](https://github.com/linkorb/userbase-client-bundle). It works with Symfony 4 and 5 projects.

License
-------

[](#license)

MIT. Please refer to the [license file](LICENSE) for details.

Brought to you by the LinkORB Engineering team
----------------------------------------------

[](#brought-to-you-by-the-linkorb-engineering-team)

[![](https://camo.githubusercontent.com/62fb66b034de7ea7fca9fd9776424b5348daa76ef8622caf92c2f7622003e5ef/687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67)](https://camo.githubusercontent.com/62fb66b034de7ea7fca9fd9776424b5348daa76ef8622caf92c2f7622003e5ef/687474703a2f2f7777772e6c696e6b6f72622e636f6d2f642f6d6574612f74696572312f696d616765732f6c696e6b6f7262656e67696e656572696e672d6c6f676f2e706e67)
Check out our other projects at [linkorb.com/engineering](http://www.linkorb.com/engineering).

Btw, we're hiring!

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance53

Moderate activity, may be stable

Popularity31

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 53.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 ~70 days

Recently: every ~230 days

Total

52

Last Release

390d ago

Major Versions

v0.14.0 → v1.0.02017-07-03

v1.12.0 → v2.0.02020-02-23

v2.x-dev → v3.0.02022-09-26

PHP version history (3 changes)v0.1.0PHP &gt;=5.3.0

v3.0.0PHP &gt;=8.0.2

v2.60.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/1db66b320db18b8036ea68211b7d8a39e7c6da97e6fd29f59a50380ebb69d0bb?d=identicon)[joostfaassen](/maintainers/joostfaassen)

---

Top Contributors

[![mhitza](https://avatars.githubusercontent.com/u/273079?v=4)](https://github.com/mhitza "mhitza (8 commits)")[![mxstrand](https://avatars.githubusercontent.com/u/3622461?v=4)](https://github.com/mxstrand "mxstrand (7 commits)")

---

Tags

php-7php-libraryuserloginsignupaccount

### Embed Badge

![Health badge](/badges/userbase-client/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M151](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M385](/packages/shopware-core)[auth0/symfony

Symfony SDK for Auth0 Authentication and Management APIs.

128738.1k](/packages/auth0-symfony)[sandstorm/usermanagement

Neos and Flow package for user management, login/logout, password reset and user activation

3828.4k](/packages/sandstorm-usermanagement)[sarav/laravel-multiauth

A Simple Laravel Package for handling multiple authentication

5030.7k](/packages/sarav-laravel-multiauth)

PHPackages © 2026

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