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 1mo ago

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

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

1189d 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

[deployer/deployer

Deployment Tool

11.0k25.4M207](/packages/deployer-deployer)[appwrite/server-ce

End to end backend server for frontend and mobile apps.

55.3k84.2k](/packages/appwrite-server-ce)[pragmarx/health

Laravel Server &amp; App Health Monitor and Notifier

2.0k1.0M2](/packages/pragmarx-health)[felixfbecker/language-server-protocol

PHP classes for the Language Server Protocol

22476.7M6](/packages/felixfbecker-language-server-protocol)[heroku/heroku-buildpack-php

Toolkit for starting a PHP application locally, with or without foreman, using the same config for PHP and Apache2/Nginx as on Heroku

8161.3M10](/packages/heroku-heroku-buildpack-php)[tiamo/phpas2

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

4674.7k](/packages/tiamo-phpas2)

PHPackages © 2026

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