承接 juniora/nova-field-string-generator 相关项目开发

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

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

juniora/nova-field-string-generator

最新稳定版本:v3.0.0

Composer 安装命令:

composer require juniora/nova-field-string-generator

包简介

A Laravel Nova field for generating a random string. This can be used for a Text field and for a Password field.

README 文档

README

A Laravel Nova field for generating a random string

Installation:

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

composer require marshmallow/nova-field-string-generator
use Marshmallow\NovaGenerateString\GenerateString;

and add in the fields

GenerateString::make(__('Random string'), 'random_string')
    ->onlyOnForms()
    ->creationRules('required', 'string', 'min:12')
    ->updateRules('nullable', 'string', 'min:12')
    //You can specifiy the password length here
    ->length(12)
    //exclude characters types from password (Symbols, Numbers. Uppercase, Lowercase, Similar), do not call method to include all types
    ->excludeRules(['Symbols', 'Lowercase', 'Similar']),

GeneratePassword::make(__('Password'), 'password'),

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

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 3
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-12-21