Skip to content

Simple async access to the Docker API, built on top of React PHP

License

Notifications You must be signed in to change notification settings

clue-labs/reactphp-docker

 
 

Repository files navigation

clue/docker-react Build Status

Simple async/streaming access to the Docker API, built on top of React PHP

Note: This project is in early alpha stage! Feel free to report any issues you encounter.

Quickstart example

Once installed, you can use the following code to access the Docker API of your local docker daemon:

$loop = React\EventLoop\Factory::create();
$factory = new Factory($loop);
$client = $factory->createClient();

$client->version()->then(function ($version) {
    var_dump($version);
});

$loop->run();

See also the examples.

Install

The recommended way to install this library is through composer. New to composer?

{
    "require": {
        "clue/docker-react": "dev-master"
    }
}

License

MIT

About

Simple async access to the Docker API, built on top of React PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%