PHPackages                             zeroone/auth-server - 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. [API Development](/categories/api)
4. /
5. zeroone/auth-server

ActiveLibrary[API Development](/categories/api)

zeroone/auth-server
===================

AuthServer implementation for Laravel 5+

2.0.1(6y ago)0187MITPHPPHP ^7.1CI failing

Since Nov 27Pushed 6y ago1 watchersCompare

[ Source](https://github.com/cookiebinary1/auth-server)[ Packagist](https://packagist.org/packages/zeroone/auth-server)[ RSS](/packages/zeroone-auth-server/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (3)Versions (42)Used By (0)

AuthServer SDK (Laravel 5+ implementation)
==========================================

[](#authserver-sdk-laravel-5-implementation)

Instalation
-----------

[](#instalation)

It's easy as usual..

1. Require this package with composer using the following command:

    ```
    composer require zeroone/auth-server
    ```
2. Add the service provider to the `providers` array in `config/app.php`

    ```
    Zeroone\Authserver\AuthServerServiceProvider::class,
    ```
3. Add some settings to your `.env` file

    ```
    AUTH_SERVER_URL= # auth server url
    AUTH_SERVER_API_KEY=
    AUTH_SERVER_SECRET_KEY=
    AUTH_SERVER_CERT_FILE= # certificate path
    AUTH_SERVER_SUCCESS_URL=/success # url, could be absolute
    ```
4. Use trait in `User` eloquent

    ```
    use \Zeroone\Authserver\Http\AuthUserTrait;
    ```
5. Run migration

    ```
    php artisan migrate
    ```

    It upgrades your `users` table; some needed fields will be added.

Usage
-----

[](#usage)

New routes will be created automaticaly:

- /login
- /login/conclusion
- /register

```
Route::get("login", "\Zeroone\Authserver\Http\Controllers\LoginController@getLogin")->name("login");
Route::post("login/conclusion/{data?}", "\Zeroone\Authserver\Http\Controllers\LoginController@conclusion")->name("login.conclusion");
Route::get("register", "\Zeroone\AuthServer\Http\Controllers\RegisterController@getRegister")->name("register");
```

If you need you can use helper function to get an `AuthServer` instance

```
$authServer = auth_server();
```

There are some useful methods, try &amp; enjoy ..

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~8 days

Recently: every ~20 days

Total

40

Last Release

2426d ago

Major Versions

v0.9.17 → v1.0.02019-01-17

v1.1.12 → v2.0.02019-08-19

v1.1.13 → 2.0.12019-09-23

PHP version history (2 changes)v1.0.1PHP ^5.6.37 || ^7.0

v0.9.0PHP ^7.1

### Community

Maintainers

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

---

Top Contributors

[![cookiebinary1](https://avatars.githubusercontent.com/u/17456254?v=4)](https://github.com/cookiebinary1 "cookiebinary1 (61 commits)")

---

Tags

apilaravelsdkauth-server01people

### Embed Badge

![Health badge](/badges/zeroone-auth-server/health.svg)

```
[![Health](https://phpackages.com/badges/zeroone-auth-server/health.svg)](https://phpackages.com/packages/zeroone-auth-server)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[google-gemini-php/laravel

Google Gemini PHP for Laravel is a supercharged PHP API client that allows you to interact with the Google Gemini AI API

614397.1k4](/packages/google-gemini-php-laravel)[kyon147/laravel-shopify

Shopify package for Laravel to aide in app development

473252.9k](/packages/kyon147-laravel-shopify)[mozex/anthropic-laravel

Anthropic PHP for Laravel is a supercharged PHP API client that allows you to interact with the Anthropic API

71226.4k1](/packages/mozex-anthropic-laravel)

PHPackages © 2026

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