basic laravel admin panel
v2.3.4
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
composer create-project balajidharma/basic-laravel-admin-panel admin-app
cd admin-app
.env
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
Para alterar o prefixo de administrador, altere prefix
em config/admin.php
ou adicione ADMIN_PREFIX
em env
' prefix ' => env ( ' ADMIN_PREFIX ' , ' admin ' ),
Encontrando erros após composer update
? Redefina o banco de dados e publique novamente os ativos do fornecedor para resolver problemas.
php artisan vendor:publish --tag=admin-core --force
php artisan migrate --seed --seeder=AdminCoreSeeder
A estrutura Laravel é um software de código aberto licenciado sob a licença MIT.