PHP Classes

Random Laravel Nova Password Field: Display a password field in Laravel Nova

Recommend this page to a friend!
  Info   Documentation   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 38 All time: 10,962 This week: 488Up
Version License PHP version Categories
nova-random-password 1.0The PHP License5HTML, PHP 5, Libraries, Security
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.

Picture of Naif Alshaye
  Performance   Level  
Innovation award
Innovation award
Nominee: 9x

 

Documentation

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.


Screenshots (2)  
  • screenshots/image.png
  • screenshots/screen.gif
  Files folder image Files (16)  
File Role Description
Files folder imagedist (2 directories)
Files folder imageresources (2 directories)
Files folder imagesrc (2 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file mix-manifest.json Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file webpack.mix.js Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:38
This week:0
All time:10,962
This week:488Up