Quick RESTful authentication for registration and login. Includes support for Facebook and Google+.
Via Composer
Add this repository to your composer.json
"repositories": [
{
"type" : "vcs",
"url" : "https://github.com/karthikiyengar/easy-auth.git"
}
]
Then require the package
$ composer require paverblock/easyauth
Register the following providers in your app.php
Paverblock\Easyauth\Providers\EasyAuthServiceProvider::class
Since this application depends on JWT Tokens, you need to add this middleware to your Kernel.php:
'jwt.auth' => \Tymon\JWTAuth\Providers\JWTAuthServiceProvider::class,
Then in your terminal:
php artisan vendor:publish
Run database migrations as well:
php artisan migrate
- Better exception handling in some cases
- Test Cases
- Derive messages from config file
- Use transactions while performing inserts
- Create a proper User model migration
- Lumen Support
- Better Documentation
The MIT License (MIT). Please see License File for more information.