Skip to content

medehghani/alert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 eschews such features and provides only non-blocking IO and timer events to avoid enforcing OOP slowness on the overlaid application. It's a stripped down, no-frills event reactor without a learning curve that "just works."

FEATURES

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

  • Pausing/resuming individual timers or stream IO observers
  • Assigning multiple watchers for individual streams

DEPENDENCIES

  • PHP 5.4+
  • (optional) PECL libevent for faster evented execution and high-volume descriptor reactions. Windows libevent extension DLLs are available here

INSTALLATION

Git:
$ git clone https://github.com/rdlowrey/alert.git
Manual Download:

Manually download from the tagged release section.

Composer:
$ php composer.phar require rdlowrey/alert:0.3.*

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages