PHPackages                             bitmax/laravel-jwt - 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. bitmax/laravel-jwt

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

bitmax/laravel-jwt
==================

Laravel JWT LIB

05PHP

Since Mar 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/wargas/laravel-jwt)[ Packagist](https://packagist.org/packages/bitmax/laravel-jwt)[ RSS](/packages/bitmax-laravel-jwt/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

About Package
-------------

[](#about-package)

Simple JWT Auth that provide two routes `/login` and `/me`

Configuration
-------------

[](#configuration)

Add a guard named `api` with a driver `api` to `config/auth.php`.

Example:

```
'guards' => [
        'web' => [
            'driver' => 'session',
            'provider' => 'users',
        ],
        "api" => [
            'driver' => 'api'
        ]
        ...
    ],

```

Add the middleare `auth:api` for routes you want to protect

Example:

```
Route::middleware('auth:api')->get('/user', function (Request $request) {
    return $request->user();
});

```

Code of Conduct
---------------

[](#code-of-conduct)

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

License
-------

[](#license)

The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

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/d23c42dae3406941112504c45f801760cbc7126e46f35c89695ac197e5b45904?d=identicon)[wargas](/maintainers/wargas)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bitmax-laravel-jwt/health.svg)

```
[![Health](https://phpackages.com/badges/bitmax-laravel-jwt/health.svg)](https://phpackages.com/packages/bitmax-laravel-jwt)
```

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