shortcodes/laravel-api-auth
Composer 安装命令:
composer require shortcodes/laravel-api-auth
包简介
Simple package allows to use Laravel authentication features like register and remind password as API out of the box
README 文档
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"
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2020-06-22