- To get started, you need to install Docker Desktop.
- You may run the following command in your terminal
- Windows open WSL2 Linux terminal. Docker Desktop WSL 2 backend
docker run --rm -v "$(pwd)":/opt -w /opt laravelsail/php82-composer:latest bash -c "composer create-project balajidharma/basic-laravel-admin-panel admin-app && cd admin-app && php artisan sail:install --with=mysql,redis,meilisearch,mailpit,selenium"
cd admin-app
./vendor/bin/sail pull mysql redis meilisearch mailpit selenium
./vendor/bin/sail build
./vendor/bin/sail up
./vendor/bin/sail npm install
./vendor/bin/sail npm run dev
./vendor/bin/sail artisan vendor:publish --provider="BalajiDharma\LaravelAdminCore\AdminCoreServiceProvider"
./vendor/bin/sail artisan vendor:publish --provider="BalajiDharma\LaravelMenu\MenuServiceProvider"
./vendor/bin/sail artisan vendor:publish --provider="BalajiDharma\LaravelCategory\CategoryServiceProvider"
./vendor/bin/sail artisan migrate --seed --seeder=AdminCoreSeeder
- Now open http://localhost/
- To get started, you need to install PHP Composer.
composer create-project balajidharma/basic-laravel-admin-panel admin-app
cd admin-app
- Create a new MYSQL database and update database details in
.env
file php artisan vendor:publish --provider="BalajiDharma\LaravelAdminCore\AdminCoreServiceProvider"
php artisan vendor:publish --provider="BalajiDharma\LaravelMenu\MenuServiceProvider"
php artisan migrate --seed --seeder=AdminCoreSeeder
npm install
npm run dev
php artisan serve
- Now open http://localhost:8000/
- Email - [email protected]
- Password - password
To change the Admin Prefix, change prefix
on config/admin.php
or add the ADMIN_PREFIX
on env
'prefix' => env('ADMIN_PREFIX', 'admin'),
The Laravel framework is open-sourced software licensed under the MIT license.