PHPackages                             lowel/docker-api-php-sdk - 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. lowel/docker-api-php-sdk

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

lowel/docker-api-php-sdk
========================

Docker Engine API PHP SDK

2.1.0(4mo ago)126MITPHPPHP ^8.3

Since Sep 7Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/l0w3l/docker-api-php-sdk)[ Packagist](https://packagist.org/packages/lowel/docker-api-php-sdk)[ RSS](/packages/lowel-docker-api-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (6)Used By (0)

Docker Engine API 1.51 SDK based on PHP
=======================================

[](#docker-engine-api-151-sdk-based-on-php)

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

[](#installation)

Current library was tested on docker 1.51 api version!

```
composer require lowel/docker-api-php-sdk
```

Supported clients
-----------------

[](#supported-clients)

SDK support:

- Manual PSR-7 client;
- Manual response handler, that return DTO objects (looks Lowel\\Docker\\Response\\DTO) instead of ResponseInterface and throw some of the custom exceptions from Lowel\\Docker\\Exceptions;
- Async client, based on Guzzle library, return promises;
- Async response handler, same as manual response handler, but return type is promises.

You can init all clients use Lowel\\Docker\\ClientFactory:

```
$clientFactory = new \Lowel\Docker\ClientFactory();

$client = $clientFactory->getClient();
$clientWithHandler = $clientFactory->getClientWithHandler();
$asyncClient = $clientFactory->getAsyncClient();
$asyncClientWithHandler = $clientFactory->getAsyncClientWithHandler();

$client->containerList();
$clientWithHandler->containerInspect('container-name');
$asyncClient->containerStart('container-name');
$asyncClientWithHandler->containerStop('container-name');

$asyncClient->wait();
$asyncClientWithHandler->wait();
```

Configuration
-------------

[](#configuration)

You can switch default docker api version by set DOCKER\_API\_VERSION global env:

```
// Client factory use default value '1.41v'
$_ENV['DOCKER_API_VERSION'] = '1.43v'
```

Also you should have /var/run/docker.sock in your system. This is default path for docker socker.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance77

Regular maintenance activity

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~286 days

Total

4

Last Release

123d ago

Major Versions

1.1.0 → 2.0.02026-01-13

PHP version history (2 changes)1.0.0PHP ^8.1

1.1.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d110b35da8c87d6303de59bdc352469c2b52c288091dd974beebf464c763fc8?d=identicon)[1ove1](/maintainers/1ove1)

---

Top Contributors

[![l0w3l](https://avatars.githubusercontent.com/u/83027906?v=4)](https://github.com/l0w3l "l0w3l (22 commits)")

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/lowel-docker-api-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/lowel-docker-api-php-sdk/health.svg)](https://phpackages.com/packages/lowel-docker-api-php-sdk)
```

###  Alternatives

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[illuminate/http

The Illuminate Http package.

11936.0M5.1k](/packages/illuminate-http)[api-platform/http-cache

API Platform HttpCache component

223.2M7](/packages/api-platform-http-cache)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)[meteocontrol/vcom-api-client

HTTP Client for meteocontrol's VCOM API - The VCOM API enables you to directly access your data on the meteocontrol platform.

175.7k1](/packages/meteocontrol-vcom-api-client)

PHPackages © 2026

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