micoli / docker-php-api-client
A Docker PHP client
Requires
- php: >=8.1
- jane-php/open-api-runtime: ^7.4
- php-http/socket-client: ^2.1
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/http-message: ^1.0
- symfony/filesystem: ^6.0
- symfony/http-client: ^6.0
- thecodingmachine/safe: ^2.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^v3.20.0
- jane-php/json-schema: ^7.4
- jane-php/open-api-3: ^7.4
- php-parallel-lint/php-parallel-lint: ^1.2
- phpstan/phpstan-symfony: 1.3.2
- phpunit/phpunit: ^10.2
Suggests
- php-http/httplug-bundle: For integration with Symfony
Conflicts
This package is auto-updated.
Last update: 2024-11-22 18:59:29 UTC
README
Docker PHP 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.41.
The API classes are autogenerated by jane-php
Installation
The recommended way to install Docker PHP is of course to use Composer:
composer require micoli/docker-php-api-client
Usage
See the documentation.
Unit Tests
Setup the test suite using Composer if not already done:
$ composer install --dev
Run it using PHPUnit:
$ composer test
Contributing
Please see CONTRIBUTING for details.
Credits
This README heavily inspired by willdurand/Negotiation by @willdurand. This guy is pretty awesome.
This library is a fork of the original beluga-php/docker-php, created by beluga-php, wich was itself a fork of the original docker-php/docker-php, created by Geoffrey Bachelet and Joel Wurtz.
License
The MIT License (MIT). Please see License File for more information.