PHPackages                             webproject-xyz/docker-api-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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. webproject-xyz/docker-api-client

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

webproject-xyz/docker-api-client
================================

A PHP docker API client generated from docker api swagger schema with jane

1.3.3(2mo ago)26.1k↑100%[2 PRs](https://github.com/WebProject-xyz/php-docker-api-client/pulls)1MITPHPPHP ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since Mar 25Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/WebProject-xyz/php-docker-api-client)[ Packagist](https://packagist.org/packages/webproject-xyz/docker-api-client)[ Docs](https://www.webproject.xyz)[ RSS](/packages/webproject-xyz-docker-api-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (21)Versions (12)Used By (1)

PHP Docker API Client
=====================

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

[![CI](https://github.com/WebProject-xyz/php-docker-api-client/actions/workflows/ci.yml/badge.svg)](https://github.com/WebProject-xyz/php-docker-api-client/actions/workflows/ci.yml)[![Release](https://github.com/WebProject-xyz/php-docker-api-client/actions/workflows/release.yml/badge.svg)](https://github.com/WebProject-xyz/php-docker-api-client/actions/workflows/release.yml)[![PHP Version](https://camo.githubusercontent.com/8aed0476432c4ad814d2bdaf6e78e8f2f512feaa9c0bc53b0823b1713cc3874b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f77656270726f6a6563742d78797a2f646f636b65722d6170692d636c69656e74)](https://packagist.org/packages/webproject-xyz/docker-api-client)[![Latest Stable Version](https://camo.githubusercontent.com/f721f33717157f8064938fe381022a3118e16beaebeecb847005b3b2faed1b9d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77656270726f6a6563742d78797a2f646f636b65722d6170692d636c69656e74)](https://packagist.org/packages/webproject-xyz/docker-api-client)[![Total Downloads](https://camo.githubusercontent.com/a5257a877622138a321054320e1a76680031a3cc063b4c45a27bd01543138b63/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77656270726f6a6563742d78797a2f646f636b65722d6170692d636c69656e74)](https://packagist.org/packages/webproject-xyz/docker-api-client)[![License](https://camo.githubusercontent.com/741ff09ff997af82b7a63938643ae11b9ece2fa9e0a0f0043e29f81198f7cfb3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f77656270726f6a6563742d78797a2f646f636b65722d6170692d636c69656e74)](https://packagist.org/packages/webproject-xyz/docker-api-client)

A modern PHP client for the Docker Engine API (v1.51+), built with [JanePHP](https://github.com/janephp/janephp).

---

💻 Usage
-------

[](#-usage)

### Initialize Service

[](#initialize-service)

```
use WebProject\DockerApiClient\Client\DockerApiClientWrapper;
use WebProject\DockerApiClient\Service\DockerService;

$service = new DockerService(
    DockerApiClientWrapper::create('http://localhost', '/var/run/docker.sock')
);
```

### Manage Containers

[](#manage-containers)

```
// List and inspect containers
foreach ($service->findAllContainer() as $container) {
    echo "{$container->getName()}: " . ($container->running ? 'Running' : 'Stopped') . "
";

    // Extract env-based URLs
    $urls = $container->extractUrlsFromEnvVars(['VIRTUAL_HOST']);
}
```

### CLI Support

[](#cli-support)

```
bin/docker-api docker:list-containers
```

---

🤝 Contributing
--------------

[](#-contributing)

Pull Requests are welcome.

📄 License
---------

[](#-license)

MIT License.

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance86

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 88.4% 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.

###  Release Activity

Cadence

Every ~47 days

Recently: every ~58 days

Total

8

Last Release

87d ago

PHP version history (2 changes)1.0.0PHP ~8.3.0 || ~8.4.0

1.3.1PHP ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8126644ebe55d4c9e7d6e496307e6ee2c6232e7af450b1b915de3b282bd44b2d?d=identicon)[Fahl-Design](/maintainers/Fahl-Design)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (244 commits)")[![Fahl-Design](https://avatars.githubusercontent.com/u/6690962?v=4)](https://github.com/Fahl-Design "Fahl-Design (22 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

---

Tags

api-clientdockerdocker-apidocker-api-clientphpphp-docker-api-client

###  Code Quality

TestsCodeception

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/webproject-xyz-docker-api-client/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

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