You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**PHP library for managing supervisord through XML-RPC API.**
12
+
**PHP library for managing Supervisor through XML-RPC API.**
13
13
14
14
15
15
## Install
16
16
17
17
Via Composer
18
18
19
19
```bash
20
-
$ composer require indigophp/supervisor
20
+
$ composer require supervisorphp/supervisor
21
21
```
22
22
23
23
24
24
## Usage
25
25
26
26
```php
27
-
use Indigo\Supervisor\Supervisor;
28
-
use Indigo\Supervisor\Connector\XmlRpc;
27
+
use Supervisor\Supervisor;
28
+
use Supervisor\Connector\XmlRpc;
29
29
use fXmlRpc\Client;
30
30
use fXmlRpc\Transport\Guzzle4Bridge;
31
31
@@ -82,8 +82,8 @@ As of version 3.0.0 `setCredentials` is no longer part of the `Connector` interf
82
82
For each possible fault response there is an exception. These exceptions extend a [common exception](src/Exception/Fault.php), so you are able to catch a specific fault or all. When an unknown fault is returned from the server, an instance if the common exception is thrown. The list of fault responses and the appropriate exception can be found in the class.
83
83
84
84
```php
85
-
use Indigo\Supervisor\Exception\Fault;
86
-
use Indigo\Supervisor\Exception\Fault\BadName;
85
+
use Supervisor\Exception\Fault;
86
+
use Supervisor\Exception\Fault\BadName;
87
87
88
88
try {
89
89
$supervisor->restart('process');
@@ -99,7 +99,7 @@ try {
99
99
100
100
## Configuration and Event listening
101
101
102
-
[Configuration](https://github.com/indigophp/supervisor-configuration) and [Event](https://github.com/indigophp/supervisor-event) components have been moved into their own repository. See [#24](https://github.com/indigophp/supervisor/issues/24) for explanation.
102
+
[Configuration](https://github.com/supervisorphp/configuration) and [Event](https://github.com/supervisorphp/event) components have been moved into their own repository.
103
103
104
104
105
105
## Further info
@@ -115,14 +115,6 @@ If you use PHP XML-RPC extension to parse responses (which is marked as *EXPERIM
115
115
You will also have to make sure that you always call the functions with correct parameters. `Zend` connector will trigger an error when incorrect parameters are passed. See [this](https://github.com/zendframework/zf2/issues/6455) issue for details. (Probably this won't change in near future based on my inspections of the code.) Other connectors will throw a `Fault` exception.
116
116
117
117
118
-
## Bundles
119
-
120
-
Here is a list of framework specific bundle packages:
0 commit comments