Skip to content

Latest commit

 

History

History
106 lines (90 loc) · 5.15 KB

README.md

File metadata and controls

106 lines (90 loc) · 5.15 KB

Basic Laravel Admin Panel

A basic and simple admin panel for Laravel projects.

Total Downloads Latest Stable Version License

Built with

Installation

With Docker Desktop

  • 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/php83-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
  • sudo chown -R $USER:$USER .
  • ./vendor/bin/sail up
  • ./vendor/bin/sail npm install
  • ./vendor/bin/sail npm run dev
  • ./vendor/bin/sail artisan vendor:publish --tag=admin-core
  • ./vendor/bin/sail artisan migrate --seed --seeder=AdminCoreSeeder
  • ./vendor/bin/sail artisan storage:link
  • Now open http://localhost/admin

Without Docker Desktop

  • 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 --tag=admin-core
  • php artisan migrate --seed --seeder=AdminCoreSeeder
  • php artisan storage:link
  • npm install
  • npm run dev
  • php artisan serve
  • Now open http://localhost:8000/admin
Super Admin Login

Admin Configuration:

To change the Admin Prefix, change prefix on config/admin.php or add the ADMIN_PREFIX on env

'prefix' => env('ADMIN_PREFIX', 'admin'),

Also Try

Update guide

Encountering errors post composer update? Reset the database and re-publish vendor assets to resolve issues.

php artisan vendor:publish --tag=admin-core  --force

php artisan migrate --seed --seeder=AdminCoreSeeder

Screenshots























License

The Laravel framework is open-sourced software licensed under the MIT license.