A ready-to-use Docker image for developing, building, testing, and debugging PHP extensions.
2.1K
Ready-to-use Docker image for developing, building, testing, and debugging PHP extensions.
A complete development environment with:
8.3.29, 8.5.1)# Pull the image
docker pull hogyesn/php-extension-dev:latest
# Run with required mounts
docker run -d --name php-extension-dev \
-v $(pwd)/extensions:/extensions \
-v $(pwd)/debug_scripts:/debug_scripts \
-p 3333:3333 \
--cap-add=SYS_PTRACE \
--security-opt seccomp=unconfined \
hogyesn/php-extension-dev:latest
| Host Path | Container Path | Purpose |
|---|---|---|
./extensions | /extensions | Extension source code (required) |
./debug_scripts | /debug_scripts | PHP test scripts (required) |
./php.ini | /usr/local/php-bin/DEBUG/etc/php.ini | Custom PHP config (optional) |
The container is designed to be used with the PED CLI, which provides high-level commands for creating, building, testing, and debugging PHP extensions.
ped new my_extension
ped build my_extension
ped test my_extension
ped debug my_extension
MIT License - Copyright (c) 2026 hogyesn
Content type
Image
Digest
sha256:9fa3f2b1d…
Size
1.1 GB
Last updated
9 months ago
docker pull hogyesn/php-extension-dev