PHPackages                             covex-nn/docker-symfony - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. covex-nn/docker-symfony

ActiveProject[DevOps &amp; Deployment](/categories/devops)

covex-nn/docker-symfony
=======================

Symfony Flex application skeleton with docker-compose support

4.1.1.1(7y ago)374714[1 issues](https://github.com/covex-nn/docker-workflow-symfony/issues)MITPHPPHP ^7.1.3

Since Nov 6Pushed 7y ago7 watchersCompare

[ Source](https://github.com/covex-nn/docker-workflow-symfony)[ Packagist](https://packagist.org/packages/covex-nn/docker-symfony)[ RSS](/packages/covex-nn-docker-symfony/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (10)Versions (15)Used By (0)

Symfony Flex application skeleton with docker support
=====================================================

[](#symfony-flex-application-skeleton-with-docker-support)

This repository is a skeleton of `Symfony Flex` application for development and deployment with `docker-compose`. It contains a set of [GitLab CI/CD Pipeline](https://about.gitlab.com/features/gitlab-ci-cd/)procedures for almost zero deployment downtime.

Only trusted base docker images are used at all stages from development to production:

- `nginx:1.14`
- `debian:stretch-slim` with [Sury Debian DPA](https://packages.sury.org/php/) for PHP
- `mysql:5.7`
- `phpmyadmin/phpmyadmin`

This repository is a `symfony/skeleton` composer project, bootstrapped by [Environment configurator](https://github.com/covex-nn/env-configurator) with the following commands:

```
composer global require covex-nn/environment
composer global require covex-nn/environment-repository
composer create-project symfony/skeleton .
composer env:apply docker-ci
```

Usage
-----

[](#usage)

Use `composer` to create a new Symfony Flex application:

```
composer create-project covex-nn/docker-symfony .
```

Before launching `docker-compose`, add two records to `C:\WINDOWS\System32\Drivers\etc\hosts`or `/etc/hosts` file:

```
docker.local 127.0.0.1
mysql 127.0.0.1

```

If you use Docker Toolbox, execute `docker-machine env`, get IP-address from `DOCKER_HOST`variable and use that IP instead of `127.0.0.1`

To initialize and run a new application with `PHP-builtin web-server` use following commands (only `MySQL` and `phpMyAdmin` will be started with `docker-compose`):

```
docker-compose up -d
phing
php -S localhost:80 -t public
```

But if you want to use `Nginx` as Web server, or if you do not have `PHP 7.2`installed on your host, execute the following instead:

```
cp docker-compose.override.yml.dist docker-compose.override.yml
docker-compose up -d
docker-compose exec php phing
```

Endpoint container with `php-fpm` is built with multi-stage [Dockerfile](Dockerfile). PHP extensions `intl`, `pdo_mysql`, `zip`, `opcache` and `xdebug` (for dev-environment) are installed by default, but a list of PHP extensions can be easily extended with simple `apt-get`.

- `cron` is installed for prod-environment; add your crontab jobs to `docker/app.crontab`.
- `cache` and `log` directories are moved to a non-shared volume for dev-environmen with `volumes` section of [docker-compose.override.yml](docker-compose.override.yml.dist)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 98.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Recently: every ~4 days

Total

13

Last Release

2877d ago

Major Versions

3.3.x-dev → 4.0.8.12018-04-12

PHP version history (2 changes)3.3.x-devPHP &gt;=5.5.9

4.0.8.1PHP ^7.1.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/fd7f833537e59f3a0275ec881051e8d08ee9b658025f675f201228956da8a3e0?d=identicon)[covex-nn](/maintainers/covex-nn)

---

Top Contributors

[![covex-nn](https://avatars.githubusercontent.com/u/110878?v=4)](https://github.com/covex-nn "covex-nn (298 commits)")[![tupikoff](https://avatars.githubusercontent.com/u/4170716?v=4)](https://github.com/tupikoff "tupikoff (4 commits)")[![stefandoorn](https://avatars.githubusercontent.com/u/4903082?v=4)](https://github.com/stefandoorn "stefandoorn (1 commits)")

---

Tags

dockerdocker-composephp72symfony

### Embed Badge

![Health badge](/badges/covex-nn-docker-symfony/health.svg)

```
[![Health](https://phpackages.com/badges/covex-nn-docker-symfony/health.svg)](https://phpackages.com/packages/covex-nn-docker-symfony)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[kimai/kimai

Kimai - Time Tracking

4.6k7.4k1](/packages/kimai-kimai)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
