PHP / Laravel
- Ensure
composer.jsonis present. - Typical build:
composer install --no-dev --optimize-autoloader. - Set Laravel env (
APP_KEY,APP_URL,DB_*). - Start command must keep PHP-FPM/server listening as configured by the buildpack/Dockerfile.
Prefer a Dockerfile for complex PHP stacks when auto-detect is insufficient.