1- # Indigo Supervisor Event
1+ # Supervisor Event
22
3- [ ![ Latest Version] ( https://img.shields.io/github/release/indigophp/supervisor- event.svg?style=flat-square )] ( https://github.com/indigophp/supervisor- event/releases )
3+ [ ![ Latest Version] ( https://img.shields.io/github/release/supervisorphp/ event.svg?style=flat-square )] ( https://github.com/supervisorphp/ event/releases )
44[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE )
5- [ ![ Build Status] ( https://img.shields.io/travis/indigophp/supervisor- event.svg?style=flat-square )] ( https://travis-ci.org/indigophp/supervisor- event )
6- [ ![ Code Coverage] ( https://img.shields.io/scrutinizer/coverage/g/indigophp/supervisor- event.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/indigophp/supervisor- event )
7- [ ![ Quality Score] ( https://img.shields.io/scrutinizer/g/indigophp/supervisor- event.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/indigophp/supervisor- event )
8- [ ![ HHVM Status] ( https://img.shields.io/hhvm/indigophp/supervisor- event.svg?style=flat-square )] ( http://hhvm.h4cc.de/package/indigophp/supervisor- event )
9- [ ![ Total Downloads] ( https://img.shields.io/packagist/dt/indigophp/supervisor- event.svg?style=flat-square )] ( https://packagist.org/packages/indigophp/supervisor- event )
10- [ ![ Dependency Status] ( https://img.shields.io/versioneye/d/php/indigophp :supervisor-event.svg?style=flat-square )] ( https://www.versioneye.com/php/indigophp :supervisor-event )
5+ [ ![ Build Status] ( https://img.shields.io/travis/supervisorphp/ event.svg?style=flat-square )] ( https://travis-ci.org/supervisorphp/ event )
6+ [ ![ Code Coverage] ( https://img.shields.io/scrutinizer/coverage/g/supervisorphp/ event.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/supervisorphp/ event )
7+ [ ![ Quality Score] ( https://img.shields.io/scrutinizer/g/supervisorphp/ event.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/supervisorphp/ event )
8+ [ ![ HHVM Status] ( https://img.shields.io/hhvm/supervisorphp/ event.svg?style=flat-square )] ( http://hhvm.h4cc.de/package/supervisorphp/ event )
9+ [ ![ Total Downloads] ( https://img.shields.io/packagist/dt/supervisorphp/ event.svg?style=flat-square )] ( https://packagist.org/packages/supervisorphp/ event )
10+ [ ![ Dependency Status] ( https://img.shields.io/versioneye/d/php/supervisorphp :supervisor-event.svg?style=flat-square )] ( https://www.versioneye.com/php/supervisorphp :supervisor-event )
1111
1212** Listen to Supervisor events in PHP.**
1313
1717Via Composer
1818
1919``` bash
20- $ composer require indigophp/supervisor- event
20+ $ composer require supervisorphp/ event
2121```
2222
2323## Usage
@@ -28,9 +28,9 @@ The main entry point is the `Listener`. `Listeners`s wait for a `Handler` in the
2828
2929
3030``` php
31- use Indigo\ Supervisor\Event\Listener\Standard;
32- use Indigo\ Supervisor\Event\Handler\Callback;
33- use Indigo\ Supervisor\Event\Notification;
31+ use Supervisor\Event\Listener\Standard;
32+ use Supervisor\Event\Handler\Callback;
33+ use Supervisor\Event\Notification;
3434
3535$handler = new Callback(function(Notification $notification) {
3636 echo $notification->getHeader('eventname');
@@ -49,8 +49,8 @@ Currently available listeners:
4949
5050Additionally you can use two exceptions to control the listeners itself:
5151
52- - ` Indigo\ Supervisor\Exception\StopListener` : indicates that the ` Listener ` should stop listening for further events.
53- - ` Indigo\ Supervisor\Exception\EventHandlingFailed` : indicates that handling the event failed, ` Listener ` should return with a FAIL response.
52+ - ` Supervisor\Exception\StopListener ` : indicates that the ` Listener ` should stop listening for further events.
53+ - ` Supervisor\Exception\EventHandlingFailed ` : indicates that handling the event failed, ` Listener ` should return with a FAIL response.
5454
5555Any other unhandled exceptions/errors will cause the listener to stop.
5656
@@ -73,7 +73,7 @@ Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
7373## Credits
7474
7575- [ Márk Sági-Kazár] ( https://github.com/sagikazarmark )
76- - [ All Contributors] ( https://github.com/indigophp/supervisor- event/contributors )
76+ - [ All Contributors] ( https://github.com/supervisorphp/ event/contributors )
7777
7878
7979## License
0 commit comments