shortcodes / laravel-api-auth
Simple package allows to use Laravel authentication features like register and remind password as API out of the box
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=7.4.0
This package is auto-updated.
Last update: 2025-02-23 19:50:29 UTC
README
Package with basic controllers, routes and specyfication to speed up development process
initial package provides routes
You can change those endpoints in config file
api-auth.php
return [
'login' => 'login',
'logout' => 'logout',
'register' => 'register',
'remind-password' => 'password/email',
'reset-password' => 'password/reset',
'verification' => 'email/verify/{id}/{hash}',
'resend-activation' => 'email/resend',
],
Publish
To publish configs you simple need to run
php artisan vendor:publish --provider="Shortcodes\Authentication\AuthenticationPackageProvider"