sofiakb/lumen-auth

A library with simple JWT authentication.
40
Install
composer require sofiakb/lumen-auth
Latest Version:v0.0.6
License:MIT
Last Updated:Jun 29, 2022
Links: GitHub  ·  Packagist
Maintainer: sofiakb

Contributors Forks Stargazers Issues MIT License

About The Library

The library allows to detect os system in PHP project.

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.

Prerequisites

  • php >= 7.4
  • laravel/laravel >= 8 ou laravel/lumen-framework >= 8

Installation

composer require sofiakb/lumen-auth

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

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

See the open issues for a list of proposed features (and known issues).

License

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

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

612,604,198 9,704
laravel/framework

The Laravel Framework.

554,918,666 34,821
laravel/tinker

Powerful REPL for the Laravel framework.

465,424,253 7,437