PHPackages                             phpzone/docker - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpzone/docker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpzone/docker
==============

A Docker command builder configured by YAML, based on PhpZone

0.2.0(11y ago)32.0k2[1 issues](https://github.com/phpzone/docker/issues)[1 PRs](https://github.com/phpzone/docker/pulls)MITPHPPHP &gt;=5.3

Since Apr 8Pushed 10y ago2 watchersCompare

[ Source](https://github.com/phpzone/docker)[ Packagist](https://packagist.org/packages/phpzone/docker)[ RSS](/packages/phpzone-docker/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (11)Versions (5)Used By (0)

PhpZone Docker
==============

[](#phpzone-docker)

[![Build Status](https://camo.githubusercontent.com/7442a9aee15ae57b56b02c5aa753331796de155adfe4565adef7fa0dcd2966a5/68747470733a2f2f7472617669732d63692e6f72672f7068707a6f6e652f646f636b65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phpzone/docker)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c96986340394bffb3ec3b085efe2e5ab447afcf0121ea8f6b607ea615686f383/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068707a6f6e652f646f636b65722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/phpzone/docker/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/fd6b813796384efb48a2d47ef40a7272118185940ba726f75a6d592c7e1affdc/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37373065336464312d376435632d343066372d396165382d3135616136346562353032322f6d696e692e706e67)](https://insight.sensiolabs.com/projects/770e3dd1-7d5c-40f7-9ae8-15aa64eb5022)

[![Latest Stable Version](https://camo.githubusercontent.com/57bbcf84b1d5e6e0adebda9b428baa54849e2786e25bce0e8b6f1f6b63af8d03/68747470733a2f2f706f7365722e707567782e6f72672f7068707a6f6e652f646f636b65722f762f737461626c652e706e67)](https://packagist.org/packages/phpzone/docker)[![Total Downloads](https://camo.githubusercontent.com/9bd904c04e7bc51412309910bfa95e3d3b810fe2b4593814e4bba3dc93f13727/68747470733a2f2f706f7365722e707567782e6f72672f7068707a6f6e652f646f636b65722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/phpzone/docker)[![License](https://camo.githubusercontent.com/479a547750916935303985cb73e1aa4bbf5c37a57f529c3f8a3d6b2e9e1a994d/68747470733a2f2f706f7365722e707567782e6f72672f7068707a6f6e652f646f636b65722f6c6963656e73652e706e67)](https://packagist.org/packages/phpzone/docker)

A Docker command builder configured by [YAML](http://symfony.com/doc/current/components/yaml/yaml_format.html), based on [PhpZone](https://github.com/phpzone/phpzone). Its primary purpose is to provide a simple way to define commands for running Docker containers/instances which could be used in daily workflow of every developer. Since now not all developers need to have a knowledge about Docker but still everyone can simply understand what is running. It is not only about the knowledge but also experienced developers can find an advantage in keeping ready-made commands.

**This tool is only a configurator and executor of Docker commands, it means applications [Docker](https://docs.docker.com) and [Docker Compose](https://docs.docker.com/compose) are not included.**

Basic Usage
-----------

[](#basic-usage)

An example speaks a hundred words so let’s go through one.

The configuration file below is used for the development of this extension:

Create a `phpzone.yml` file in the root of a project:

```
extensions:
    PhpZone\Docker\DockerCompose: # register an extension with a configuration
        db:
            description: Run DB which can be used for running tests
            name: myproject
            file: docker-compose.yml
            command: up
```

and run:

```
$ vendor/bin/phpzone db
```

This will compose a proper Docker Compose command `docker-compose -f docker-compose.yml -p myproject up` and execute it.

Documentation
-------------

[](#documentation)

For more details visit [PhpZone Docker documentation](http://docs.phpzone.org/projects/phpzone-docker).

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~7 days

Total

4

Last Release

4058d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/983464?v=4)[Jakub Zapletal](/maintainers/jakubzapletal)[@jakubzapletal](https://github.com/jakubzapletal)

---

Top Contributors

[![jakubzapletal](https://avatars.githubusercontent.com/u/983464?v=4)](https://github.com/jakubzapletal "jakubzapletal (26 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/phpzone-docker/health.svg)

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

###  Alternatives

[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1715.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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