Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 36 | | All time: 10,638 This week: 232 |
|
Description | | Author |
This package can display a password field in Laravel Nova.
It extends the Laravel Nova password component that can configure the HTML and JavaScript that will display a password field that is generated randomly.
The generated password field will exhibit a button to allow the user to copy the password to the clipboard. | |
 |
|
Innovation award
 Nominee: 6x |
|
Details
Nova Random Password Generation Field
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:
<h4>Add the below to Nova/User.php resource:</h4>
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
<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 for more information.
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.