Laravel Docker Easy Starter Kit - Laravel v11.x, PHP v8.3.x, MySQL v8.1.x, phpMyAdmin v5.x, Mailpit v1.x
git clone https://github.com/refactorian/laravel-docker.git
cd laravel-docker
docker compose up -d --build
docker compose exec phpmyadmin chmod 777 /sessions
docker compose exec php bash
chown -R www-data:www-data /var/www/storage /var/www/bootstrap/cache
chmod -R 775 /var/www/storage /var/www/bootstrap/cache
composer setup
docker compose up -d
db
refactorian
refactorian
refactorian
db
refactorian
refactorian
refactorian
docker compose build
docker compose up -d
docker compose down
docker compose stop
docker compose restart
docker compose exec [container] [command]
php artisan about
php artisan config:clear
php artisan cache:clear
php artisan event:clear
php artisan queue:clear
php artisan route:clear
php artisan view:clear
php artisan clear-compiled
php artisan optimize:clear
php artisan schedule:clear-cache
php artisan auth:clear-resets
vendor/bin/pint
vendor/bin/pint app/Models
vendor/bin/pint app/Models/User.php
vendor/bin/pint -v
vendor/bin/pint --dirty
vendor/bin/pint --test
vendor/bin/rector process --dry-run
vendor/bin/rector process