Docker PHP (for lack of a better name) is a Docker client written in PHP. This library aim to reach 100% API support of the Docker Engine.
The test suite currently passes against Docker Remote API v1.25 to v1.36.
The recommended way to install Docker PHP is of course to use Composer:
composer require romantomchak/docker-php
By default, it will use the last version of docker api available, if you want to fix a version (like 1.40) you can add this requirement to composer:
composer require "romantomchak/docker-php-api:6.1.40.*"
See the documentation.
Setup the test suite using Composer if not already done:
$ composer install --dev
Run it using PHPUnit:
$ composer test
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.