Note
It must:
- be on the latest version of Laravel
- be lightweight to run with Docker
- use modern technologies such as PHP 8.3, Go 1.22, Python 3.12, etc.
# Generate certificates for CockroachDB
task certs-init
# Build dev image
task build
# Prune builds
task prune-builds
# Up containers
task up
# Show logs
task logs
# Copy Laravel environment variables file
cp -n dev-frontend.env apps/frontend/.env
# Install dependencies, generate key, run migrations
task install
# Run queue worker
task queue
# Enter the apps container
task console
Build assets:
task bun-dev
task bun-prod
Update locales:
task lang-update
Apply fixes by phpcs:
task fix-phpcs
Fix permissions:
task fix-perms
Analyse the code by Larastan:
task phpstan
Check security vulnerabilities in dependencies:
task check-security
Create a new migration using go-migrate:
task console
migrate create -ext sql -dir database/migrations -seq create_test_table
Generate a command to up migrations:
php artisan app:gen-migrate-command
Generate a command to enter CockroachDB SQL shell:
php artisan app:gen-sql-shell-command