Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

docker-php

> 编程语言
Open source

A Docker client in PHP

767 stars0 likes0 views
WebsiteGitHub

About

A Docker client in PHP

No longer maintained

I'm backing off maintaining this library due to a lack of motivation, time and usage of docker, contact me on twitter https://twitter.com/joelwurtz if you wish to take over this repository (or just do a fork).

Docker PHP

Docker PHP (for lack of a better name) is a Docker client written in PHP. This library aim to reach 100% API support of the Docker Engine.

The test suite currently passes against Docker Remote API v1.25 to v1.36. Installation

The recommended way to install Docker PHP is of course to use Composer:

bash
composer require docker-php/docker-php

Docker API Version

By default it will use the last version of docker api available, if you want to fix a version (like 1.25) you can add this requirement to composer:

bash
composer require "docker-php/docker-php-api:4.1.25.*"

Usage

See the documentation.

Unit Tests

Setup the test suite using Composer if not already done:

$ composer install --dev

Run it using PHPUnit:

$ composer test

Contributing

Please see CONTRIBUTING for details.

Credits

This README heavily inspired by willdurand/Negotiation by @willdurand. This guy is pretty awesome.

License

The MIT License (MIT). Please see License File for more information.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言