PHPackages                             tplcom/dophpsdk - 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. tplcom/dophpsdk

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

tplcom/dophpsdk
===============

A simple docker php sdk.

2.0(8y ago)3178GPL-2.0+PHP

Since Dec 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/theodorosploumis/dophpsdk)[ Packagist](https://packagist.org/packages/tplcom/dophpsdk)[ Docs](https://github.com/theodorosploumis/dophpsdk)[ RSS](/packages/tplcom-dophpsdk/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Simple Docker php sdk
=====================

[](#simple-docker-php-sdk)

**DOcker PHP SDK -&gt; dophpsdk**

This is a small and simple php package that allows docker manipulations through php.

Similar projects can be found at .

### Requirements

[](#requirements)

- php
- composer

Php needs to be able to run docker commands. For example, if using Apache server run this:

```
usermod -aG docker www-data

```

### Installation

[](#installation)

```
composer require tplcom/dophpsdk

```

### Usage

[](#usage)

For all the available functions see the classes [Container.php](https://github.com/theodorosploumis/dophpsdk/blob/master/src/Container.php) and [Docker.php](https://github.com/theodorosploumis/dophpsdk/blob/master/src/Docker.php).

```
