LooPHP
a high performance event loop for PHP daemons
Install / Use
/learn @Wordi/LooPHPREADME
LooPHP
LooPHP is an event loop (http://en.wikipedia.org/wiki/Event_loop) for PHP. It provides an abstract base for programming PHP using an event driven style of programming. It can handle up to ~150,000 events/second. Due to PHP's single threaded nature and lacks a unifying method of polling sockets/streams/etc, the implementation of the event source is left up to the user.
Few things to keep in mind: -Nothing should block, if you need to wait for something to happen, it should be scheduled using an event. -Events can be cancelled via $loophp_event->cancel()
Requirements: -PHP 5.3 -Closures -Circular reference GC (http://php.net/manual/en/function.gc-enable.php)
Related Skills
node-connect
346.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
