PHP code example of sakib-1996 / auth-admin

1. Go to this page and download the library: Download sakib-1996/auth-admin 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/ */

    

sakib-1996 / auth-admin example snippets


protected function casts(): array
{
    return [
        'password' => 'hashed',
    ];
}
bash
php artisan auth-admin:install
bash
php artisan vendor:publish --tag=auth-admin-config
bash
php artisan vendor:publish --tag=auth-admin-views
bash
php artisan auth-admin:install