Skip to content

Commit f75e2e6

Browse files
committed
Initial commit
0 parents  commit f75e2e6

13 files changed

+986
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# CHANGELOG
2+
3+
This file is a manually maintained list of changes for each release. Feel free
4+
to add your changes here when sending pull requests. Also send corrections if
5+
you spot any mistakes.
6+
7+
## 0.0.0 (2014-11-26)
8+
9+
* Initial concept

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2014 Christian Lück
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is furnished
10+
to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# clue/docker-react [![Build Status](https://travis-ci.org/clue/php-docker-react.svg?branch=master)](https://travis-ci.org/clue/php-docker-react)
2+
3+
Simple async/streaming access to the Docker API, built on top of React PHP
4+
5+
> Note: This project is in early alpha stage! Feel free to report any issues you encounter.
6+
7+
## Quickstart example
8+
9+
Once [installed](#install), you can use the following code to access the
10+
Docker API of your local docker daemon:
11+
12+
```php
13+
$loop = React\EventLoop\Factory::create();
14+
$factory = new Factory($loop);
15+
$client = $factory->createClient();
16+
17+
$client->version()->then(function ($version) {
18+
var_dump($version);
19+
});
20+
21+
$loop->run();
22+
```
23+
24+
See also the [examples](examples).
25+
26+
## Install
27+
28+
The recommended way to install this library is [through composer](http://getcomposer.org). [New to composer?](http://getcomposer.org/doc/00-intro.md)
29+
30+
```JSON
31+
{
32+
"require": {
33+
"clue/docker-react": "dev-master"
34+
}
35+
}
36+
```
37+
38+
## License
39+
40+
MIT

composer.json

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "clue/docker-react",
3+
"description": "Simple async/streaming Docker client",
4+
"keywords": ["Docker", "container", "ReactPHP", "async"],
5+
"homepage": "https://github.com/clue/php-docker-react",
6+
"license": "MIT",
7+
"authors": [
8+
{
9+
"name": "Christian Lück",
10+
"email": "[email protected]"
11+
}
12+
],
13+
"autoload": {
14+
"psr-4": { "Clue\\React\\Docker\\": "src/" }
15+
},
16+
"require": {
17+
"php": ">=5.3",
18+
"react/event-loop": "~0.3.0",
19+
"clue/buzz-react": "~0.1.0",
20+
"react/promise": "~1.0"
21+
}
22+
}

0 commit comments

Comments
 (0)