Laravel Airlock provides a featherweight authentication system for SPAs and simple APIs.
it on early-stage and available for some beta testing.
You may install Laravel Airlock via Composer:
composer require laravel/airlock
Next, you should publish the Airlock configuration and migration files using the
vendor:publish Artisan command. The
airlock configuration file will be placed in your
php artisan vendor:publish --provider="Laravel\Airlock\AirlockServiceProvider"
Finally, you should run your database migrations:
php artisan migrate
Features of Laravel Airlock :
- Attaching The Authentication Guard
- SPA Authentication
- Issuing API Tokens
- Token Abilities
- Authenticating Mobile Applications
- Revoking Tokens