文件名称:Laravel-API-Password-Recover:Laravel API软件包,可为API路由生成密码恢复路由
文件大小:37KB
文件格式:ZIP
更新时间:2024-04-11 08:43:32
api laravel passwords PHP
Laravel:API忘记了密码帮助器 介绍 节省创建函数的时间,以管理laravel中您Api的忘记密码。 该软件包将为您的用户模型添加一个新密钥,以及两条新路径将处理被忘记和重置的密码。 快速使用 作曲家 composer require appoly/api-password-helper 用法 将新密钥添加到您的用户表。 php artisan migrate 该用户模型需要法定作为电子邮件将被自动发送给他们 class User extends Authenticatable { use Notifiable; 路线 在您的应用程序中将创建两条新路线 GET: /api/forgot-password?email=johndoe@example.com Post路由在请求密钥和密码中采用两个表单数据参数。 POST: /api/forgot-password 如果您的
【文件预览】:
Laravel-API-Password-Recover-master
----.gitignore(40B)
----README.md(1KB)
----.styleci.yml(174B)
----tests()
--------LaravelTest.php(1KB)
----composer.lock(254KB)
----composer.json(1KB)
----phpunit.xml.dist(1020B)
----src()
--------routes.php(272B)
--------Http()
--------ApiPasswordServiceProvider.php(839B)
--------Migrations()
--------Facades()
----build()
--------report.junit.xml(7KB)
----config()
--------config.php(1KB)