kreemer/docker-php

A Docker client in PHP

1.41.1 2021-04-29 13:40 UTC

This package is auto-updated.

Last update: 2024-04-29 04:59:13 UTC


README

Docker PHP (for lack of a better name) is a Docker client written in PHP and heavily inspired by the official docker-php Repository.

The reason this isn't a fork is because the separation between the api class files and the actual client into two repositories lead to time-consuming work to sync these two repositories.

So this repository contains the client as well as the api (basically it's the idea behind the repository Morgonus/docker-api-php-client).

This library aim to reach 100% API support of the Docker Engine.

Installation

The recommended way to install Docker PHP is of course to use Composer:

composer require kreemer/docker-php

Docker API Version

Currently only the latest version of the api is supported.

Usage

See the documentation from the original repository.

Unit Tests

Setup the test suite using Composer if not already done:

$ composer install --dev

Run it using PHPUnit:

$ composer test

Credits

This README heavily inspired by willdurand/Negotiation by @willdurand. This guy is pretty awesome.

The code and idea itself is inspired by docker-php by @JoelWurtz. This guy is too pretty awesome.

License

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