Docker PHP Config Generator
Generates production-ready, workload-optimized PHP, OPcache, and PHP-FPM configurations for Docker containers.
This skill automates the creation of high-performance PHP environments within Docker by generating tailored php.ini, OPcache (including JIT for PHP 8.4+), and PHP-FPM pool configurations. It intelligently calculates resource allocations based on container memory limits and specific workload types—such as high-concurrency Web APIs, long-running background workers, or intensive CLI batch processes—ensuring optimal performance, security, and stability for modern PHP applications in containerized environments.
主な機能
01Optimized OPcache and JIT (Just-In-Time) configuration for PHP 8.4+
02Production-grade security defaults including disabled functions and secure session handling
03Automatic PHP-FPM child process calculation based on available container RAM
0445 GitHub stars
05Workload-specific tuning for Web APIs, background workers, and CLI tools
06Ready-to-use Dockerfile snippets for seamless configuration integration
ユースケース
01Configuring specialized PHP-FPM pools for high-traffic REST APIs
02Optimizing a Laravel or Symfony application for production Kubernetes environments
03Setting up high-memory background workers for processing large data queues