PHPackages                             chazzuka/authron - 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. chazzuka/authron

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

chazzuka/authron
================

multi tenant auth manager for laravel

091PHP

Since Dec 2Pushed 11y ago1 watchersCompare

[ Source](https://github.com/chazzuka/authron)[ Packagist](https://packagist.org/packages/chazzuka/authron)[ RSS](/packages/chazzuka-authron/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Authron
-------

[](#authron)

add multi tenant auth configuration at `config/auth.php`

```
    'resolver' => [
    	'default' => 'member',
        'member' => [
            'driver' => 'eloquent',
            'model' => 'App\Account\Member',
        ],
        'audience' => [
            'driver' => 'audience',
            'model' => 'App\Audiences\Audience',
        ],
    ],
```

Replace laravel auth provider in `config/app.php` with `Chazzuka\Authron\AuthronServiceProvider`

```
// login with default auth manager
Auth::attempt($crendetials);
Auth::guest();
Auth::check();

// above is equivalent to
Auth::member()->attempt($credentials);
Auth::member()->guest();
Auth::member()->check();

// login audience
Auth::audience()->attempt($credentials);
Auth::audience()->guest();
Auth::audience()->check();
```

Register custom user provider

```
// Register only for audience auth manager
$this->app['auth']->audience()->extend('audience', function ()
{
    $provider = new AudienceProvider($this->app['audiences']);

    return new Guard('audience', $provider, $this->app['session.store']);
});

// register for all registered managers
$this->app['auth']->extend('audience', function ()
{
    $provider = new AudienceProvider($this->app['audiences']);

    return new Guard('audience', $provider, $this->app['session.store']);
});
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/chazzuka-authron/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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