PHP Docker Extension Manager

•
45
•

Streamlines the installation and configuration of PHP extensions in Docker containers using optimized patterns for Alpine and Debian.

This skill equips Claude with a deep knowledge base for managing PHP extensions within Docker environments. It provides standardized installation patterns for core, PECL, and manually compiled extensions while mapping specific system dependencies across different Linux distributions. By leveraging multi-stage build patterns and framework-specific configurations for Laravel and Symfony, it helps developers create slim, production-ready images while avoiding common pitfalls like missing header files or incorrect build-time library mappings.

主な機能

01Includes pre-defined extension stacks for Laravel, Symfony, and API Platform.
02Provides optimized installation patterns for PECL and core PHP extensions.
03Implements multi-stage build patterns to minimize container image size.
04Offers production-ready OPcache and serialization configurations.
0545 GitHub stars
06Maps system build dependencies for both Alpine and Debian distributions.

ユースケース

01Configuring complex image processing or database extensions in a new Dockerfile.
02Troubleshooting compilation errors and missing library dependencies in PHP containers.
03Refactoring existing Dockerfiles to use multi-stage builds for smaller production images.