PHPackages                             shooteram/auth - 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. shooteram/auth

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

shooteram/auth
==============

142PHP

Since May 12Pushed 7y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

```
$ composer require shooteram/auth
$ php artisan vendor:publish --provider "shooteram\Auth\ServiceProvider"
$ php artisan passport:keys

```

Then, define your whitelisted origins in your new config file `config\cors.php`.

You can send a `GET` request to the `/csrf` endpoint to get a `XSRF-TOKEN` cookie which is required to validate forms. Once you have it, you can use it as your request's `X-XSRF-TOKEN` header.

#### Configuration

[](#configuration)

To define the required identifier auth login field, you can set your own in your `cors` published config file (`cors.auth.login.username`).

> Use the trait `Laravel\Passport\HasApiTokens` in your auth provider user model (usually `App\User`) class.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/90eb3695556c96081374ae298f8c7590324d3b926c4fdda88f00a9568295c84f?d=identicon)[shooteram](/maintainers/shooteram)

---

Top Contributors

[![shooteram](https://avatars.githubusercontent.com/u/3769113?v=4)](https://github.com/shooteram "shooteram (23 commits)")

---

Tags

authauthenticationcookiecookiescorslaravelpackagepassportphp

### Embed Badge

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

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

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