2017 © Pedro Peláez
 

library php-docker

Php library for managing docker and its commands.

image

simondevelop/php-docker

Php library for managing docker and its commands.

  • Monday, July 23, 2018
  • by SimonDevelop
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

version Minimum PHP Version Github Actions PHP GitHub license FOSSA Status, (*1)

php-docker

Php library for managing docker and its commands., (*2)

composer require simondevelop/php-docker

Example

<?php
// Initiate
require "vendor/autoload.php";
use SimonDevelop\Docker;

$docker = new Docker("mysql:5.7", [
    "3306" => "3306"
], [
    "/my/own/datadir" => "/var/lib/mysql"
]);
$docker->setEnv([
    "MYSQL_ROOT_PASSWORD" => "my-secret-pw"
]);

echo $docker->run();
// docker run -d -v /my/own/datadir:/var/lib/mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=my-secret-pw mysql:5.7

Check this docs for more., (*3)

Go to contribute !

License

FOSSA Status, (*4)

The Versions

23/07 2018

dev-master

9999999-dev https://github.com/SimonDevelop/php-docker

Php library for managing docker and its commands.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Avatar SimonDevelop

container command docker managing

16/05 2018

dev-develop

dev-develop https://github.com/SimonDevelop/php-docker

Php library for managing docker and its commands.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Avatar SimonDevelop

container command docker managing

16/05 2018

0.0.4

0.0.4.0 https://github.com/SimonDevelop/php-docker

Php library for managing docker and its commands.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Avatar SimonDevelop

container command docker managing

16/05 2018

0.0.3

0.0.3.0 https://github.com/SimonDevelop/php-docker

Php library for managing docker and its commands.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Avatar SimonDevelop

container command docker managing

15/05 2018

0.0.2

0.0.2.0 https://github.com/SimonDevelop/php-docker

Php library for managing docker and its commands.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Avatar SimonDevelop

container command docker managing

15/05 2018

0.0.1

0.0.1.0 https://github.com/SimonDevelop/php-docker

Php library for managing docker and its commands.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Avatar SimonDevelop

container command docker managing