PHP code example of rockys / ex-admin-laravel
1. Go to this page and download the library: Download rockys/ex-admin-laravel 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/ */
rockys / ex-admin-laravel example snippets
php artisan admin:install
dotenv
// 路径举例:D:\phpstudy_pro\Extensions\Apache2.4.39\conf
// 在httpd.conf搜索 IfModule dir_module 新增SefEnvIf这一行
<IfModule dir_module>
DirectoryIndex index.php index.html
SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
</IfModule>
location / {
try_files $uri $uri/ /index.php?$query_string;
}