1
0
mirror of https://github.com/danog/amp.git synced 2024-11-30 04:29:08 +01:00
Go to file
2014-08-06 00:37:03 -04:00
examples Update examples 2014-08-02 01:35:42 -04:00
lib Add UvReactor signal handling support 2014-08-06 00:32:13 -04:00
test unit test cleanup + composer adjustment 2014-08-02 02:17:50 -04:00
.gitignore Added functions, reactor globals 2014-08-01 15:37:02 -04:00
CHANGELOG.md Update CHANGELOG 2014-08-06 00:37:03 -04:00
composer.json Update composer package description 2014-08-06 00:25:48 -04:00
CONTRIBUTORS.md Bumped LICENSE year, added CONTRIBUTORS.md 2014-03-06 09:49:36 -05:00
LICENSE Bumped LICENSE year, added CONTRIBUTORS.md 2014-03-06 09:49:36 -05:00
phpunit.xml unit test cleanup + composer adjustment 2014-08-02 02:17:50 -04:00
README.md Improved composer support 2014-07-22 13:47:22 -04:00

Alert

Alert provides native and libevent event reactors for powering event-driven PHP applications and servers.

WHY?

Buffer and event-emmitter abstractions -- though user-friendly -- are unfortunately slow in userland. Performant PHP servers cannot compete (in terms of speed) with the likes of Node.js where such features are compiled. Alert avoids these features and provides only non-blocking IO, timer and signal events to prevent OOP slowness in the overlying application. It's a stripped down, no-frills event reactor that "just works."

FEATURES

Alert adds the following functionality to PHP's non-blocking IO space:

  • Pausing/resuming individual event/signal/IO observers
  • Assigning multiple watchers for individual streams

DEPENDENCIES

  • PHP 5.4+
  • (optional) php-uv for libuv backends.
  • (optional) PECL libevent for libevent backends. Windows libevent extension DLLs available here

INSTALLATION

Composer:
$ php composer.phar require rdlowrey/alert:0.9.*
Git:
$ git clone https://github.com/rdlowrey/alert.git
Manual Download:

Manually download from the tagged release section.