Select and configure the appropriate command runner based on Docker Compose standard, Symfony Docker (FrankenPHP), or host environment
This skill inherits all available tools. When active, it can use any tool Claude has access to.
This skill helps you select the appropriate command runner based on your environment setup.
The plugin automatically detects your environment:
Symfony Docker (FrankenPHP/Caddy)
compose.yaml with frankenphp/caddy referencesfrankenphp/ directory or CaddyfileDocker Compose Standard
docker-compose.yml or compose.yamlphp, app, or first service)Host Environment
# PHP execution
docker compose exec php php script.php
# Symfony Console
docker compose exec php bin/console cache:clear
# Composer
docker compose exec php composer require package
# Tests
docker compose exec php ./vendor/bin/phpunit
docker compose exec php ./vendor/bin/pest
# PHP execution (service name may vary: php, app, etc.)
docker compose exec app php script.php
# Symfony Console
docker compose exec app bin/console cache:clear
# Composer
docker compose exec app composer require package
# Tests
docker compose exec app ./vendor/bin/phpunit
# PHP execution
php script.php
# Symfony Console
php bin/console cache:clear
# Composer
composer require package
# Tests
./vendor/bin/phpunit
./vendor/bin/pest
If Docker is configured but not running, you have two options:
# Symfony Docker
docker compose up -d --wait
# Docker Compose standard
docker compose up -d
Continue with host PHP/Composer if available.
# Check Docker installation
docker --version
docker compose version
# Check running containers
docker compose ps
# View logs
docker compose logs -f
# Fix file ownership (Symfony Docker)
docker compose exec php chown -R $(id -u):$(id -g) .