ehtasham89 / laravel-apiauth-driver
A RESTful api authentication driver for Laravel 4.*
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ehtasham89/laravel-apiauth-driver
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: ~5.0
- illuminate/support: 4.2.*
This package is not auto-updated.
Last update: 2025-10-01 23:56:45 UTC
README
laravel-apiauth-driver
A RESTful APi authenication driver for Laravel 4.2
Installation Guide:
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',
Api Configuration
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