承接 naif/generate-password 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

naif/generate-password

最新稳定版本:v1.4

Composer 安装命令:

composer require naif/generate-password

包简介

A Laravel Nova password field with generating random password option

README 文档

README

A Laravel Nova password field with generating random password option

Installation:

You can install the package in to a Laravel app that uses Nova via composer:

composer require naif/generate-password

Usage:

Add the below to Nova/User.php resource:

use Naif\GeneratePassword\GeneratePassword;

and add in the fields

GeneratePassword::make('Password')
    ->onlyOnForms()
    ->creationRules('required', 'string', 'min:6')
    ->updateRules('nullable', 'string', 'min:6')
    ->length(12) //You can specifiy the password length here
    ->excludeRules(['Symbols']) //exclude characters types from password 
    //(Symbols, Numbers. Uppercase, Lowercase), do not call method to include all types
  
    
<img src="https://raw.githubusercontent.com/naifalshaye/nova-random-password-generation/master/screenshots/screen.gif" width="700">

## Support:
naif@naif.io

https://www.linkedin.com/in/naif

## License:
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

统计信息

  • 总下载量: 75.14k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 18
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 18
  • Watchers: 0
  • Forks: 6
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-18