New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

raditzfarhan/simple-jwt-auth

Just a simple jwt auth for Laravel and Lumen
219 1

Larablocks Analysis

raditzfarhan/simple-jwt-auth works with any PHP project: the latest release (v1.0.0, Apr 16, 2020) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Apr 16, 2020)
  • 0 downloads a month (needs 10,000)
  • 1 GitHub star (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Apr 16, 2020.
  • No releases in the last 12 months.
  • First released: Apr 16, 2020.
  • 1 open issue on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require raditzfarhan/simple-jwt-auth
Latest Version:v1.0.0
License:MIT
Last Updated:Feb 17, 2023
Links: GitHub  ·  Packagist
Maintainer: raditzfarhan

Latest Version License styleci

Simple JWT Auth

Just a simple implementation of JWT Auth for Lumen

Configuration

Edit the bootstrap/app.php file and add the following line to register the service provider:

...
$app->register(RaditzFarhan\SimpleJWTAuth\JWTAuthServiceProvider::class);
...

Then add jwt to your guards config in auth.php config file:

'guards' => [
    ...    
    'jwt' => [
        'driver' => 'simple-jwt-auth',
        'provider' => 'users',
    ],
],

Then add users provider if you haven't:

'providers' => [
    'users' => [
        'driver' => 'eloquent',
        'model' => App\User::class,
    ],
],

Credits

License

MIT. Please see the license file for more information.

Related Packages

nicoren/lumen-jwt-auth

JWT auth package for Lumen 8 and above

2 0
generationtux/jwt-artisan

JWT auth package for Laravel and Lumen

55,223 137
ngabor84/laravel-jwt-auth

JWT authentication middleware for the Laravel and Lumen framework

4,045 0
ronakgolakiya/jwt-auth-artisan

JWT auth package for Laravel and Lumen

14 2
baleghsefat/laravel-jwt

Json Web Token for Laravel and Lumen

4 1

Version History

Version Released License
v1.0.0 MIT