PHP code example of sheaxiang / laravel-admin

1. Go to this page and download the library: Download sheaxiang/laravel-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/ */

    

sheaxiang / laravel-admin example snippets


php artisan vendor:publish --provider="SheaXiang\Admin\AdminServiceProvider"

php artisan admin:install
 
php artisan vendor:publish --tag=laravel-admin-resources-force --force

这里会覆盖目录 admin/config/routes.ts, admin/public, admin/src,所以二次开发需要新增,不要更改

yarn build