PHP code example of htorkashvand / administrator
1. Go to this page and download the library: Download htorkashvand/administrator 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/ */
htorkashvand / administrator example snippets
'providers' => [
Frozennode\Administrator\AdministratorServiceProvider::class,
]
for use first time :
1- add auth to laravel like: 'php artisan make:auth' ,
2- register user ... ,
3- add 'users' in 'administrator.php' Like :'menu' => ['users'] ,
4- add directory to config directory: 'administrator/settings' ,
5- add file users.php in directory administrator ,
6- config users for use in panel admin .