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

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

tortitas/docker-sdk
===================

PHP SDK for Docker API

0.1.1(3y ago)19MITPHPPHP ^8.0

Since Feb 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/TortitasT/docker-sdk)[ Packagist](https://packagist.org/packages/tortitas/docker-sdk)[ Docs](https://github.com/tortitast/docker-sdk)[ RSS](/packages/tortitas-docker-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

tortitas/docker-sdk
===================

[](#tortitasdocker-sdk)

Install
-------

[](#install)

Via Composer

```
composer require tortitas/docker-sdk
```

Usage
-----

[](#usage)

```
use Tortitas\DockerSDK\DockerSDK;
use Tortitas\DockerSDK\Container;

$image = 'nginx:latest';

DockerSDK::pull($image);

$container = new Container(
  'my-nginx-php-container',
  $image
);

$container->create()->start();

DockerSDK::list();
```

### Notes

[](#notes)

> If on Windows, you need to have Docker desktop installed and running. Also you need to have the Docker daemon running on TCP port 2375. You can do this by going to the Docker desktop settings and enabling the option "Expose daemon on tcp://localhost:2375 without TLS".

> The SDK uses the Docker API v1.41. You can check the API version by running `docker version` on your terminal.

Testing
-------

[](#testing)

```
composer test
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

1239d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b66e8397ad709e04e0abbd50408f5fa374df0a57f3e677142de23851d8dca10?d=identicon)[Tortitas](/maintainers/Tortitas)

---

Top Contributors

[![TortitasT](https://avatars.githubusercontent.com/u/76071376?v=4)](https://github.com/TortitasT "TortitasT (18 commits)")

---

Tags

docker

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tortitas-docker-sdk/health.svg)

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

###  Alternatives

[widop/google-analytics-bundle

Google certificate-based authentication in server-to-server interactions with google analytics

43283.2k](/packages/widop-google-analytics-bundle)[in2code/in2publish_core

Content publishing extension to connect stage and production server

40143.4k](/packages/in2code-in2publish-core)[tiamo/phpas2

PHPAS2 is a php-based implementation of the EDIINT AS2 standard

4778.9k](/packages/tiamo-phpas2)[wapmorgan/php-rpm-packager

RPM packager for PHP applications.

116.6k](/packages/wapmorgan-php-rpm-packager)

PHPackages © 2026

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