Reactive extensions for PHP. The reactive extensions for PHP are a set of libraries to compose asynchronous and event-based programs using observable collections and LINQ-style query operators in PHP.
https://github.com/ReactiveX/RxPHP
origin - http://www.pipiscrew.com/?p=9457 reactive-extensions-for-php