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

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

sofiakb/lumen-auth
==================

A library with simple JWT authentication.

v0.0.6(3y ago)040MITPHP

Since Oct 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/sofiakb/lumen-auth)[ Packagist](https://packagist.org/packages/sofiakb/lumen-auth)[ RSS](/packages/sofiakb-lumen-auth/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (3)Versions (7)Used By (0)

[![Contributors](https://camo.githubusercontent.com/54413e04e8e9c81933dc9326b425980e6283897e5fdd8e09860c6795890d9502/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f736f6669616b622f6c756d656e2d617574682e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/sofiakb/lumen-auth/graphs/contributors)[![Forks](https://camo.githubusercontent.com/20dd1d413d3f9fade6fb3c88a74cdc449d78ae1f257da84e80caf70b7bd5d0c9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f736f6669616b622f6c756d656e2d617574682e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/sofiakb/lumen-auth/network/members)[![Stargazers](https://camo.githubusercontent.com/3223ee8383ee255ce4c0f9c9faaf5d74b98876aa1c65671f38b50e0842c1da1c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f736f6669616b622f6c756d656e2d617574682e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/sofiakb/lumen-auth/stargazers)[![Issues](https://camo.githubusercontent.com/ae2db5c481aa7434a02fade897b1e63c96ab23cd4117c9b60e161dda22ceeb3b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736f6669616b622f6c756d656e2d617574682e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/sofiakb/lumen-auth/issues)[![MIT License](https://camo.githubusercontent.com/fa03f75b64c7e3c3fd3eb838f5527389a0135fbc7f8090e41c7f33e1e57c89c9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736f6669616b622f6c756d656e2d617574682e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/sofiakb/lumen-auth/blob/main/LICENSE)

lumen-auth
==========

[](#lumen-auth)

 A library with simple JWT authentication.

 [Report Bug](https://github.com/sofiakb/lumen-auth/issues) · [Request Feature](https://github.com/sofiakb/lumen-auth/issues)

 Table of Contents1. [About the library](#about-the-project)
    - [Built With](#built-with)
2. [Getting Started](#getting-started)
    - [Prerequisites](#prerequisites)
    - [Installation](#installation)
3. [Usage](#usage)
4. [Roadmap](#roadmap)
5. [Contributing](#contributing)
6. [License](#license)
7. [Contact](#contact)
8. [Acknowledgements](#acknowledgements)

About The Library
-----------------

[](#about-the-library)

The library allows to detect os system in PHP project.

### Built With

[](#built-with)

This section should list any major frameworks that you built your project using. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.

- [PHP](https://php.net)

### Prerequisites

[](#prerequisites)

- php &gt;= 7.4
- laravel/laravel &gt;= 8 ou laravel/lumen-framework &gt;= 8

### Installation

[](#installation)

```
composer require sofiakb/lumen-auth
```

Usage
-----

[](#usage)

```
// Fichier bootstrap/app.php
$app->register(Sofiakb\Lumen\Auth\Providers\AuthServiceProvider::class);

// Fichier routes/api.php
\Sofiakb\Lumen\Auth\Auth::routes();
```

Ensuite, lancer la commande suivante

```
php artisan jwt:secret
```

### Commands list

[](#commands-list)

```
php artisan auth:activate # Activate auth account by username/email.
php artisan auth:clear-resets # Flush expired password reset tokens.
php artisan auth:config # Copy auth config file.
php artisan auth:deactivate # Deactivate auth account by username/email.
php artisan auth:table # Create migration for users & connections table.
php artisan auth:user:create # Create new user and save it into database.
```

Roadmap
-------

[](#roadmap)

See the [open issues](https://github.com/sofiakb/lumen-auth/issues) for a list of proposed features (and known issues).

License
-------

[](#license)

Distributed under the MIT License. See `LICENSE` for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.3% 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 ~52 days

Recently: every ~65 days

Total

6

Last Release

1412d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/83745581?v=4)[sofiakb](/maintainers/sofiakb)[@sofiakb](https://github.com/sofiakb)

---

Top Contributors

[![sofiakb](https://avatars.githubusercontent.com/u/83745581?v=4)](https://github.com/sofiakb "sofiakb (11 commits)")[![sowsouf](https://avatars.githubusercontent.com/u/17595186?v=4)](https://github.com/sowsouf "sowsouf (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[rickycezar/laravel-jwt-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

24117.6k](/packages/rickycezar-laravel-jwt-impersonate)[sametsahindogan/laravel-jwtredis

This package allows JWT-authenticated users to be stored and management in Redis with their roles, permissions, statuses and anything you want.

1221.9k](/packages/sametsahindogan-laravel-jwtredis)[unisharp/laravel-jwt

A jwt package for reisssuing token purpose based on jwt-auth package.

3610.5k1](/packages/unisharp-laravel-jwt)[razorbacks/laravel-shibboleth

Enable basic Shibboleth support for Laravel 5.x

101.4k](/packages/razorbacks-laravel-shibboleth)

PHPackages © 2026

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