| title | Examples |
|---|---|
| description | Real-world Cbox Init configurations for PHP frameworks, Docker, and Kubernetes deployments |
| weight | 30 |
Practical, production-ready configuration examples for common use cases with PHP applications including Laravel, WordPress, Symfony, and more.
These work with any PHP framework:
- Minimal Setup - Simple PHP-FPM configuration
- Scheduled Tasks - Cron scheduler for Laravel, Symfony, WordPress
- Kubernetes Deployment - K8s deployment patterns
- Docker Compose - Multi-container orchestration
Laravel-specific configurations (adapt patterns for Symfony, WordPress, etc.):
- Laravel Complete - Full Laravel stack with Horizon and queues
- Laravel with Monitoring - Laravel + Prometheus + API
Works with any PHP application:
version: "1.0"
global:
shutdown_timeout: 30
log_level: info
processes:
php-fpm:
enabled: true
command: ["php-fpm", "-F", "-R"]
restart: alwaysExample for Laravel (adapt for Symfony Messenger, WordPress, etc.):
version: "1.0"
processes:
php-fpm:
enabled: true
command: ["php-fpm", "-F", "-R"]
nginx:
enabled: true
command: ["nginx", "-g", "daemon off;"]
depends_on: [php-fpm]
# Laravel: php artisan queue:work
# Symfony: php bin/console messenger:consume
# Custom: php worker.php
queue-worker:
enabled: true
command: ["php", "artisan", "queue:work"]
scale: 3- Quickstart Guide - Step-by-step tutorial
- Configuration Reference - All options explained