PHPackages                             graywings/docker-client - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. graywings/docker-client

ActiveLibrary[HTTP &amp; Networking](/categories/http)

graywings/docker-client
=======================

Docker API client for PHP.

00PHPCI failing

Since Apr 21Pushed 1y agoCompare

[ Source](https://github.com/old-home/docker-client)[ Packagist](https://packagist.org/packages/graywings/docker-client)[ RSS](/packages/graywings-docker-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/682071b529ca68aa927052b1af1c4b4284e8da51ef12322ca2768e521f776f99/687474703a2f2f706f7365722e707567782e6f72672f6f6c642d686f6d652f646f636b65722d636c69656e742f76)](https://packagist.org/packages/old-home/docker-client)[![PHP Version Require](https://camo.githubusercontent.com/102a45b88cf5c5b5de40a74297f2ed096a0cceb4af4c1b4bcb63cc29373da03c/687474703a2f2f706f7365722e707567782e6f72672f6f6c642d686f6d652f646f636b65722d636c69656e742f726571756972652f706870)](https://packagist.org/packages/old-home/docker-client)[![codecov](https://camo.githubusercontent.com/1aae59ecd8ec65b1986f4ad0d3c288fb8ad7ae76a8f91374961f7eef925fbae6/68747470733a2f2f636f6465636f762e696f2f67682f6f6c642d686f6d652f646f636b65722d636c69656e742f67726170682f62616467652e7376673f746f6b656e3d344730464c3946505549)](https://codecov.io/gh/old-home/docker-client)

Docker Client for PHP
=====================

[](#docker-client-for-php)

A PHP client library for Docker API

Overview
--------

[](#overview)

This library provides a client for easily interacting with the Docker API from PHP. It offers interfaces for managing Docker resources such as containers, images, networks, and volumes.

Requirements
------------

[](#requirements)

- PHP 8.4 or higher
- ext-curl
- Docker engine API 1.48 or higher

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

[](#installation)

Install using Composer:

```
composer require graywings/docker-client
```

Usage
-----

[](#usage)

```
use Graywings\DockerClient\DockerClient;

$client = new DockerClient();
$containers = $client->getContainers()
```

Development
-----------

[](#development)

### Setup

[](#setup)

1. Clone the repository
2. Install dependencies: `composer install`
3. Run tests: `composer test`

### Testing

[](#testing)

```
# Run all tests with coverage report
composer test:all

# Run tests without coverage report
composer test:no-report
```

### Code Quality

[](#code-quality)

```
# Run all linters
composer lint

# Individual linters
composer lint:phpstan  # Static analysis with PHPStan
composer lint:phpcs    # Code style check with PHP_CodeSniffer
composer lint:phpcbf   # Code style fix with PHP_CodeSniffer
composer lint:psalm    # Static analysis with Psalm
```

License
-------

[](#license)

MIT

Author
------

[](#author)

- Taira Terashima ()

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d0b09c43417447279cf821f67049badc7c743f1122b822aa60dc11f9791f1614?d=identicon)[taira-terashima](/maintainers/taira-terashima)

---

Top Contributors

[![t-terashima0815](https://avatars.githubusercontent.com/u/107980425?v=4)](https://github.com/t-terashima0815 "t-terashima0815 (9 commits)")

### Embed Badge

![Health badge](/badges/graywings-docker-client/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78026.4M414](/packages/react-http)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)

PHPackages © 2026

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