PHPackages                             omauger/docker-compose-php - 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. omauger/docker-compose-php

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

omauger/docker-compose-php
==========================

A Docker Compose PHP client

2.1(9y ago)206681[1 PRs](https://github.com/omauger/docker-compose-php/pulls)1MITPHPPHP &gt;=5.4

Since Dec 9Pushed 8y ago5 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (8)Used By (1)

DOCKER-COMPOSE PHP
==================

[](#docker-compose-php)

**Docker-compose PHP** is a [Docker-compose](https://docs.docker.com/compose/) SDK written in PHP. This library is still a work in progress. Not much is supported yet, but the goal is to reach 100% of docker-compose options support.

The versions &lt;= 1.0 are compatible with docker client 1.9, docker-compose 1.5 and php 5.6. The version 2.0 is compatible with docker client &gt;= 1.10, docker-compose &gt;= 1.6 and php 5.6.

[![Travis-CI](https://camo.githubusercontent.com/f18af238ed842cd5f3a265b7c9cb94c59a7ef0dff7b6edf1f78e1b38caf13223/68747470733a2f2f7472617669732d63692e6f72672f6f6d61756765722f646f636b65722d636f6d706f73652d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/omauger/docker-compose-php) [![Documentation Status](https://camo.githubusercontent.com/24e7ffae0ec04f49a3c9967d992779a3c3639fa02bf2c547a130c63381cab495/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f646f636b65722d636f6d706f73652d7068702f62616467652f3f76657273696f6e3d6c6174657374)](http://docker-compose-php.readthedocs.org/en/latest/?badge=latest) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/9f3b288f7bfa0e0e524fd60dea7a8ebf912621aaaefd6eba8db21d66e337914a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f6d61756765722f646f636b65722d636f6d706f73652d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/omauger/docker-compose-php/?branch=master)

Versioning
----------

[](#versioning)

There is no *stable* version yet and docker-compose is rapidly evolving, but we still try to semantically version the library according to [semver](http://semver.org/), but shifted a little bit:

- **MAJOR** version number stays to 0 until all options of docker-compose 1.5 are covered
- **MINOR** version number is incremented when a backward incompatible change is made
- **PATCH** version number is incremented when a new feature is added

So basically, if you want the `0.1` version set, pull the tag`0.1.0` and you should be fine.

Installation
------------

[](#installation)

The recommended way to install Docker PHP is of course to use [Composer](http://getcomposer.org/):

```
{
    "require": {
        "omauger/docker-compose-php": "@dev"
    }
}
```

**Note**: there is no stable version of Docker-compose PHP yet.

Usage
-----

[](#usage)

See [the documentation](http://docker-compose-php.readthedocs.org/en/latest/)Run tests
--------------------------------------------------------------------------------------

[](#see-the-documentationrun-tests)

```
./scripts/tests.sh

```

Contributing
------------

[](#contributing)

[Ophélie Mauger](https://github.com/omauger)

License
-------

[](#license)

The MIT License (MIT)

Copyright (c) 2015 Forges Alterway

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~72 days

Recently: every ~91 days

Total

6

Last Release

3492d ago

Major Versions

0.1.2 → 1.02016-04-21

1.0 → 2.02016-04-21

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14993978?v=4)[omauger](/maintainers/omauger)[@omauger](https://github.com/omauger)

---

Top Contributors

[![edsonmedina](https://avatars.githubusercontent.com/u/5449?v=4)](https://github.com/edsonmedina "edsonmedina (1 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (1 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

### Embed Badge

![Health badge](/badges/omauger-docker-compose-php/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[spacecatninja/imager-x

Ninja powered image transforms.

29405.1k36](/packages/spacecatninja-imager-x)[in2code/in2publish_core

Content publishing extension to connect stage and production server

40143.4k](/packages/in2code-in2publish-core)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4778.9k](/packages/tiamo-phpas2)[wapmorgan/php-rpm-packager

RPM packager for PHP applications.

106.6k](/packages/wapmorgan-php-rpm-packager)

PHPackages © 2026

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