PHP code example of magdicom / nova-visible-password
1. Go to this page and download the library: Download magdicom/nova-visible-password library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
magdicom / nova-visible-password example snippets
// in app/Nova/Resources/User.php
use Magdicom\NovaVisiblePassword\VisiblePassword;
class User extends Resource
{
public function fields(Request $request)
{
return [
VisiblePassword::make('Password')
];
}
}