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 1% of packages

Maintenance34

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

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M91](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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