Download the PHP package elnooronline/laravel-api-authentication without Composer
On this page you can find all versions of the php package elnooronline/laravel-api-authentication. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elnooronline/laravel-api-authentication
More information about elnooronline/laravel-api-authentication
Files in elnooronline/laravel-api-authentication
Package laravel-api-authentication
Short Description This package used to scaffold basic login, registration and reset password in restful api
License MIT
Informations about the package laravel-api-authentication
Laravel Api Authentication
This package used to scaffold basic login, registration and reset password in restful api.
Installation via composer
Import The following traits in
\App\User
model:
Migrations
You must publish the migration files to create the authentication tables.
Then run the following command:
Configration
After installation run the following command if you want to override any thing in the package.
If you want to add your own login or registration or reset password you should create custom comtrollers and requests and extends the package classes.
Examples
Then update the api-authentication.php
and replace the login controller :
Also you can add your own user resource class in
api-authentication.php
config file:
Events
If you want to add envents during the authentication process. You may attach listeners to these events in your
EventServiceProvider
:
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-api-authentication with dependencies
laravel/passport Version ^7.0
laravel-notification-channels/onesignal Version ^2.0