Recommend this page to a friend! |
Download .zip |
Info | Documentation | Screenshots | View files (14) | Download .zip | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 37 | All time: 10,862 This week: 96 |
Version | License | PHP version | Categories | |||
nova-random-password 1.0 | The PHP License | 5 | HTML, PHP 5, Libraries, Security |
Description | Author | |
This package can display a password field in Laravel Nova. |
A Laravel Nova password field with generating random password option
You can install the package in to a Laravel app that uses Nova via composer:
composer require naif/generate-password
<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">
naif@naif.io
https://www.linkedin.com/in/naif
The MIT License (MIT). Please see License File for more information.
Screenshots | ||
Files |
File | Role | Description | ||
---|---|---|---|---|
dist (2 directories) | ||||
resources (2 directories) | ||||
src (2 files) | ||||
composer.json | Data | Auxiliary data | ||
mix-manifest.json | Data | Auxiliary data | ||
package.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
webpack.mix.js | Data | Auxiliary data |
Files | / | resources | / | js | / | components |
File | Role | Description |
---|---|---|
DetailField.vue | Data | Auxiliary data |
FormField.vue | Data | Auxiliary data |
IndexField.vue | Data | Auxiliary data |
Files | / | src |
File | Role | Description |
---|---|---|
FieldServiceProvider.php | Class | Class source |
GeneratePassword.php | Class | Class source |
nova-random-password-2019-02-19.zip 115KB | |
nova-random-password-2019-02-19.tar.gz | |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.