| Package Data | |
|---|---|
| Maintainer Username: | ehtasham |
| Maintainer Contact: | ehtasham.nasir89@gmail.com (Ehtasham Nasir) |
| Package Create Date: | 2016-04-14 |
| Package Last Update: | 2016-11-10 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-26 03:00:23 |
| Package Statistics | |
|---|---|
| Total Downloads: | 10 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
A RESTful APi authenication driver for Laravel 4.2
Following lines in your laravel composer.json file require array:
"ehtasham89/laravel-apiauth-driver": "dev-master"
Palce following service provider links in app/config/app.php providers array:
'Ehtasham89\LvApiAuth\LvApiAuthServiceProvider',
'Ehtasham89\LvApiAuth\Reminders\ReminderServiceProvider',
Comment the following Service provider in app/config/app.php providers array:
//'Illuminate\Auth\Reminders\ReminderServiceProvider',
Change the driver name in app/config/auth.php with 'driver' => 'lvapiauth',
Run following command via composer:
php artisan config:publish ehtasham89/laravel-apiauth-driver
It will create copy of config.php file in app/config/packages/ehtasham89/laravel-apiauth-driver/
Add your api's endpoints in app/config/packages/ehtasham89/laravel-apiauth-driver/config.php