PHP Dev Dockerfile Generator

•
45
•

Generates development-ready Docker configurations for PHP projects featuring Xdebug integration and hot reloading.

This skill automates the creation of high-performance development environments for PHP applications by generating optimized Dockerfiles and docker-compose.yml files. It includes pre-configured Xdebug support for major IDEs like PhpStorm and VS Code, development-specific PHP and OPcache settings for instant code reflection, and essential system tools. By analyzing your project's composer.json and framework requirements, it ensures a seamless containerized experience that eliminates common permission issues and host-to-container synchronization delays.

Key Features

01Automated Xdebug 3 configuration for PhpStorm and VS Code
02Pre-configured development stack including PHP-FPM and Nginx
03Permission-safe user mapping using host UID/GID arguments
04Automatic PHP extension detection based on project composer.json
0545 GitHub stars
06Hot-reload enabled via optimized OPcache and host volume mounting

Use Cases

01Setting up a local development environment for a new Laravel or Symfony project
02Standardizing containerized dev environments across a distributed engineering team
03Adding robust Xdebug and step-debugging capabilities to an existing PHP app