PHP code example of giaphiep / admin
1. Go to this page and download the library: Download giaphiep/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/ */
giaphiep / admin example snippets
php
GiapHiep\Admin\AdminServiceProvider::class,
php
'admin.guest' => \GiapHiep\Admin\Middleware\RedirectIfAdminAuthenticated::class,
'admin.auth' => \GiapHiep\Admin\Middleware\AdminAuthenticate::class,
bash
$ php artisan vendor:publish
$ php artisan migrate
$ php artisan db:seed --class=UsersTableSeeder