FrankenPHP docker images optimized for Symfony.
3.5K
FrankenPHP docker images optimized for Symfony framework 7/8, available in Alpine and Debian variants (amd64 and arm64). Images created every monday, after daily FrankenPHP release.
Want to give it a try? Download the example Dev Container, open the project in Visual Studio Code and install Symfony:
curl -O https://raw.githubusercontent.com/symfony/skeleton/refs/heads/8.1/composer.json
composer install
Your project is ready at localhost 💪
| Package | Environment | Description |
|---|---|---|
| Brotli | all | Used for Symfony AssetMapper asset pre-compression |
| Supervisor | all | Manages Symfony Messenger worker processes |
| Zstandard | all | Used for asset pre-compression in Symfony AssetMapper |
| Git | dev | Enables Git access with local credentials in Dev Containers |
| GnuPG | dev | Enables GPG commit signing in Dev Containers |
| OpenSSH | dev | Enables SSH Git access and deployments from Dev Containers |
| Extension | Name | Environment | Description |
|---|---|---|---|
| Composer | @composer | all | Manages all Symfony dependencies and package installations |
| APCu | apcu | all | Provides a shared RAM cache for application data, configuration settings, and metadata |
| BCMath | bcmath | all | Handles high-precision mathematics for financial calculations and prices |
| GD | gd | all | Resizes, crops, and optimizes user-uploaded images through media bundles |
| Intl | intl | all | Handles international text transliteration, forms localization, and Twig translation formatting |
| PDO MySQL | pdo_mysql | all | Connects Doctrine ORM to MySQL databases |
| PDO PostgreSQL | pdo_pgsql | all | Connects Doctrine ORM to PostgreSQL databases |
| Xdebug | xdebug | dev | Provides step-by-step debugging and breakpoint support for PHP applications |
| XSL | xsl | all | Required by twig/inky-extra to generate responsive HTML email layouts |
| Zip | zip | all | Speeds up Composer downloads and manages zip archives within the application |
All environments:
| Setting | Value |
|---|---|
apc.enable_cli | 1 |
memory_limit | 512M |
opcache.interned_strings_buffer | 32 |
opcache.max_accelerated_files | 32531 |
opcache.memory_consumption | 256 |
realpath_cache_ttl | 600 |
session.use_strict_mode | 1 |
zend.detect_unicode | 0 |
Development environment:
| Setting | Value |
|---|---|
xdebug.client_host | host.docker.internal |
xdebug.log_level | 0 |
xdebug.mode | off |
xdebug.start_with_request | trigger |
Production environment:
| Setting | Value |
|---|---|
expose_php | 0 |
opcache.preload | /app/config/preload.php |
opcache.preload_user | root |
opcache.validate_timestamps | 0 |
All types of contributions are encouraged and valued. See the contributing guidelines, the community looks forward to your contributions!
Released under the terms of the ISC License.
No tags have been pushed to this repository yet.