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

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

plesk/docker-php
================

A Docker PHP client

v1.22.0(1y ago)6104[1 PRs](https://github.com/plesk/docker-php/pulls)MITPHPPHP &gt;=8.2

Since May 2Pushed 1y ago5 watchersCompare

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

READMEChangelog (1)Dependencies (10)Versions (21)Used By (0)

Docker PHP
==========

[](#docker-php)

**Docker PHP** (for lack of a better name) is a [Docker](http://docker.com/) client written in PHP. This library aim to reach 100% API support of the Docker Engine.

The test suite currently passes against the [Docker Remote API v1.24](http://docs.docker.com/reference/api/docker_remote_api_v1.24/).

[![Documentation Status](https://camo.githubusercontent.com/b3a521bafc6d4aad656a0bdbb2b7203e7ff6d68760bcd78191570d053eede3b4/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f646f636b65722d7068702f62616467652f3f76657273696f6e3d6c6174657374)](http://docker-php.readthedocs.org/en/latest/)[![Latest Version](https://camo.githubusercontent.com/7849861143f4ef766082f785562192e56d09b521f46f4b1f9004b96d19ebe77a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f706c65736b2f646f636b65722d7068702e7376673f7374796c653d666c61742d737175617265)](https://github.com/plesk/docker-php/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/dfc4e0546fe66d481a938e85ab7c862cfe29d6793a7325adbaaad5aab6ba270a/68747470733a2f2f6170702e7472617669732d63692e636f6d2f706c65736b2f646f636b65722d7068702e7376673f746f6b656e3d38767a7839356f57556936353948786445617a6e266272616e63683d6d6173746572)](https://app.travis-ci.com/plesk/docker-php)[![Code Coverage](https://camo.githubusercontent.com/c0ab390c8a76198ca1c516d98a6eef4417d5ab6be894cd62397c602d8af4e39b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f706c65736b2f646f636b65722d7068702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/plesk/docker-php)[![Quality Score](https://camo.githubusercontent.com/1aeee76514eb7115e8192d07bd8bc913fc2c493653761bf64a00a8f80ffcf660/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f706c65736b2f646f636b65722d7068702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/plesk/docker-php)[![Total Downloads](https://camo.githubusercontent.com/09e090f3cfaf22867268721cc5a3b37f17ed7a9ff7febf4c23a219b20af2c69d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706c65736b2f646f636b65722d7068702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/plesk/docker-php)

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

[](#installation)

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

```
composer require plesk/docker-php
```

Usage
-----

[](#usage)

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

Unit Tests
----------

[](#unit-tests)

Setup the test suite using [Composer](http://getcomposer.org/) if not already done:

```
$ composer install --dev

```

Run it using [PHPUnit](http://phpunit.de/):

```
$ composer test

```

### Running Tests with `docker-compose`

[](#running-tests-with-docker-compose)

```
$ docker-compose run php54
$ docker-compose run php55
$ docker-compose run php56
$ docker-compose run php70

```

It is recommended to run only one service during testing, since `composer` requirements may depend on the PHP version and we are using a host-volume during local testing.

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Versioning
----------

[](#versioning)

Docker PHP does not follow the classic [semver versioning](http://semver.org/), but follow the Docker Remote API versioning starting at the v1.21, the master branch will follow the next major release on the Docker Remote API.

Changes on the core of this library not related to the API, will be merged back to previous versions on a best effort basis.

Credits
-------

[](#credits)

This README heavily inspired by [willdurand/Negotiation](https://github.com/willdurand/Negotiation) by @willdurand. This guy is pretty awesome.

Change of jane/open-api dependency
----------------------------------

[](#change-of-janeopen-api-dependency)

Previous version of **Docker PHP** library had **"jane/open-api": "^1.3"** composer dependency. This project is deprecated and archived. Authors suggest to use  but we used a few classes only so we rewrote them in this library (src/custom). If some issues happen we should consider to use recommended library and rewrite this library in appropriate way which could be tricky task since code is completely different

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance44

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

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

Recently: every ~854 days

Total

14

Last Release

493d ago

Major Versions

v0.5.0 → 1.21.02016-01-29

PHP version history (2 changes)v0.1.0PHP &gt;=5.4

v1.22.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/5928ecaf5890c963894d11983fbbf88b64ac619c641efa30d5e1140070f4ec54?d=identicon)[xgin](/maintainers/xgin)

---

Top Contributors

[![joelwurtz](https://avatars.githubusercontent.com/u/90466?v=4)](https://github.com/joelwurtz "joelwurtz (191 commits)")[![ubermuda](https://avatars.githubusercontent.com/u/10758?v=4)](https://github.com/ubermuda "ubermuda (167 commits)")[![hacfi](https://avatars.githubusercontent.com/u/428841?v=4)](https://github.com/hacfi "hacfi (36 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (10 commits)")[![xgin](https://avatars.githubusercontent.com/u/5378093?v=4)](https://github.com/xgin "xgin (8 commits)")[![Boran](https://avatars.githubusercontent.com/u/405059?v=4)](https://github.com/Boran "Boran (5 commits)")[![alexsibtihon](https://avatars.githubusercontent.com/u/28776367?v=4)](https://github.com/alexsibtihon "alexsibtihon (4 commits)")[![jeffturcotte](https://avatars.githubusercontent.com/u/65089?v=4)](https://github.com/jeffturcotte "jeffturcotte (4 commits)")[![tasuki](https://avatars.githubusercontent.com/u/334490?v=4)](https://github.com/tasuki "tasuki (4 commits)")[![atroy](https://avatars.githubusercontent.com/u/893505?v=4)](https://github.com/atroy "atroy (3 commits)")[![mycroft](https://avatars.githubusercontent.com/u/196552?v=4)](https://github.com/mycroft "mycroft (3 commits)")[![sibprogrammer](https://avatars.githubusercontent.com/u/187856?v=4)](https://github.com/sibprogrammer "sibprogrammer (3 commits)")[![casualjim](https://avatars.githubusercontent.com/u/456109?v=4)](https://github.com/casualjim "casualjim (3 commits)")[![micmania1](https://avatars.githubusercontent.com/u/881537?v=4)](https://github.com/micmania1 "micmania1 (2 commits)")[![patrickmarie](https://avatars.githubusercontent.com/u/51477363?v=4)](https://github.com/patrickmarie "patrickmarie (2 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (2 commits)")[![ryanaslett](https://avatars.githubusercontent.com/u/101536?v=4)](https://github.com/ryanaslett "ryanaslett (2 commits)")[![deweller](https://avatars.githubusercontent.com/u/51414?v=4)](https://github.com/deweller "deweller (2 commits)")[![krzaczek](https://avatars.githubusercontent.com/u/5773701?v=4)](https://github.com/krzaczek "krzaczek (2 commits)")[![LeeSaferite](https://avatars.githubusercontent.com/u/47386?v=4)](https://github.com/LeeSaferite "LeeSaferite (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

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

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

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19562.3M1.3k](/packages/drupal-core)[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)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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