Skip to content

Commit ca9a419

Browse files
committed
Initial commit
0 parents  commit ca9a419

File tree

14 files changed

+1102
-0
lines changed

14 files changed

+1102
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: php
2+
php:
3+
- 5.3
4+
- 5.6
5+
- hhvm
6+
before_script:
7+
- composer install --prefer-source --no-interaction
8+
script:
9+
- phpunit --coverage-text

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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.1 (2014-xx-xx)
8+
9+
* First tagged release
10+

LICENSE

Lines changed: 21 additions & 0 deletions
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

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# clue/solusvm-api-react [![Build Status](https://travis-ci.org/clue/solusvm-api-react.png?branch=master)](https://travis-ci.org/clue/solusvm-api-react)
2+
3+
Simple async access to your VPS box through the SolusVM API, built on top of React PHP
4+
5+
Solus Virtual Manager ([SolusVM](http://solusvm.com/)) is a popular commercial
6+
control panel (CP) for virtual private servers (VPS). Its web interface can
7+
be used to control your VPS, see its details or boot, reboot or shutdown.
8+
9+
Using SolusVM is pretty common for smaller VPS hosting companies, in particular
10+
for those listed on [Low End Box](http://lowendbox.com/). As a user (customer)
11+
you get full root access to a VPS (usually via SSH) and use the SolusVM web
12+
interface to manage your VPS.
13+
14+
This project uses the [SolusVM Client API](http://docs.solusvm.com/client_api)
15+
so that you can manage your VPS programatically without having to log in to the
16+
web interface to check your bandwidth usage or reboot your VPS.
17+
18+
> Note: This project is in beta stage! Feel free to report any issues you encounter.
19+
20+
## Quickstart example
21+
22+
Once [installed](#install), you can use the following code to fetch package
23+
information from packagist.org:
24+
25+
```php
26+
$factory = Factory($loop);
27+
$client = $factory->createClient(array(
28+
'user' => '147492ddec07231c2de7e5865880fd0191955916',
29+
'pass' => 'Y4WNA-TZS6J-15YMB',
30+
'host' => 'manage.myhost.local'
31+
));
32+
33+
$client->info()->then(function ($result) {
34+
var_dump($result);
35+
});
36+
```
37+
38+
See also the [examples](example).
39+
40+
## Install
41+
42+
The recommended way to install this library is [through composer](packagist://getcomposer.org).
43+
[New to composer?](packagist://getcomposer.org/doc/00-intro.md)
44+
45+
```JSON
46+
{
47+
"require": {
48+
"clue/solusvm-api-react": "dev-master"
49+
}
50+
}
51+
```
52+
53+
> Note: This project is currently not listed on packagist.
54+
55+
## License
56+
57+
MIT

composer.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "clue/solusvm-api-react",
3+
"description": "Simple async access to packagist.org's API, like listing project details, number of downloads, etc.",
4+
"keywords": ["SolusVM", "Solus Virtual Manager", "control panel", "CP", "VPS", "React"],
5+
"homepage": "https://github.com/clue/reactphp-solusvm-api",
6+
"license": "MIT",
7+
"authors": [
8+
{
9+
"name": "Christian Lück",
10+
"email": "christian@lueck.tv"
11+
}
12+
],
13+
"autoload": {
14+
"psr-4": { "Clue\\React\\SolusVM\\Api\\": "src/" }
15+
},
16+
"require": {
17+
"clue/buzz-react": "0.1.*"
18+
}
19+
}

0 commit comments

Comments
 (0)