geobas / lumen-auth

JWT authentication for Lumen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A production-ready JWT (authentication) template for Lumen to build secure APIs

Serves routes for user registration, login, logout, refresh, reset password


Set up

1. composer install
2. composer run-script post-root-package-install
3. artisan key:generate && artisan jwt:secret
4. Modify the generated .env accordingly
5. artisan migrate:fresh

Execute unit tests

composer test

About

JWT authentication for Lumen


Languages

Language:PHP 80.1%Language:Blade 19.1%Language:Shell 0.8%