scouser03 / nova-string-generator-field
A Laravel Nova field.
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Vue
Requires
- php: ^8.1
README
A Nova field which can genarate a string upon creating or updating, this adds a string generator button and copy button to a Text.
Installation:
You can install the package in to a Laravel app that uses Nova via composer:
composer require scouser03/nova-string-generator-field
use Scouser03\NovaStringGeneratorField\NovaStringGeneratorField; // Field which extends the default Nova Text field NovaStringGeneratorField::make('String') ->length(12) // specify the generated string length (default = 10) ->excludeRules(['symbols']), // exclude characters types (symbols, numbers. uppercase, lowercase) ## License: The MIT License (MIT). Please see [License File](LICENSE.md) for more information.