Make a fresh start
-
composer create-project laravel/laravel
-
SET permission storage/
-
SET .env configurations
-
php artisan make:auth
-
php artisan migrate
-
composer require encore/laravel-admin
-
php artisan vendor:publish --provider="Encore\Admin\AdminServiceProvider"
-
php artisan admin:install
-
SET config/admin.php configurations
-
composer require laravel-admin-ext/media-manager -vvv
-
php artisan admin:import media-manager
-
Extension config config/admin.php 'media-manager' => ['disk' => 'public'],
-
composer require laravel-admin-ext/backup -vvv
-
php artisan admin:import backup
-
composer require laravel-admin-ext/log-viewer -vvv
-
php artisan admin:import log-viewer
-
composer require laravel-admin-ext/config
-
php artisan migrate
-
Open app/Providers/AppServiceProvider.php and call the Config::load() ( use Encore\Admin\Config\Config; )
-
php artisan admin:import config
-
composer require laravel-admin-ext/summernote
-
php artisan vendor:publish --tag=laravel-admin-summernote
-
Extension config in config/admin.php 'summernote' => ['enable' => true, 'config' => ['height' => 500]],
-
php artisan admin:make UserController --model=App\User
-
Add a route in app/Admin/routes.php: $router->resource('users', UserController::class);
-
php artisan storage:link
-
Add Disk in config/filesystems.php, 'admin' => ['driver' => 'local','root' => storage_path('app/public'),'url' => env('APP_URL').'/storage','visibility' => 'public',],