mastani/nova-password-reset
最新稳定版本:v1.2
Composer 安装命令:
composer require mastani/nova-password-reset
包简介
Reset your nova password easily from top navigation.
README 文档
README
This is a package for Laravel Nova which allows you to easily reset your nova password.
Screeenshots
Requirements
- PHP >= 7.1
- Laravel application with Laravel Nova installed
Installation
Install the package via composer:
$ composer require mastani/nova-password-reset
Publish the view (Will overwrite 'user.blade.php' which is provided by nova):
php artisan vendor:publish --force --provider="Mastani\NovaPasswordReset\ToolServiceProvider" --tag="nova-views"
Register the tool in the tools method of the NovaServiceProvider:
// app/Providers/NovaServiceProvider.php
// ...
public function tools()
{
return [
// ...
new \Mastani\NovaPasswordReset\NovaPasswordReset,
];
}
Customizations (Optional)
If you want to specify the min length of password you can publish the config file:
php artisan vendor:publish --provider="Mastani\NovaPasswordReset\ToolServiceProvider" --tag="config"
Now head over to "config/nova-password-reset.php" and you can change the value:
'min_password_size' => 5
You can also use English or Portuguese language or add your own translation:
php artisan vendor:publish --provider="Mastani\NovaPasswordReset\ToolServiceProvider" --tag="translations"
Contributors
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 58.05k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-11-19
