envoylope / event-loop
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.1
- asmblah/php-amqp-compat: ^0.4
- react/event-loop: ^1.4
Requires (Dev)
- mockery/mockery: ^1.6
- phpstan/phpstan: ^1.10
- phpstan/phpstan-mockery: ^1.1
- phpunit/phpunit: ^10.2
- tasque/event-loop: ^0.1
- tasque/tasque: ^0.1
This package is auto-updated.
Last update: 2024-05-03 19:03:37 UTC
README
Transmits AMQP heartbeats for Envoylope using a ReactPHP EventLoop.
Usage
Install with Composer:
$ composer require envoylope/event-loop
(Optionally) install Tasque and Tasque EventLoop
If you are running a traditional PHP application, a ReactPHP EventLoop may regularly be blocked by synchronous logic/IO. This can be mitigated somewhat by Tasque EventLoop, which implements green threads for PHP.
See the respective usage instructions linked above for configuring the Tasque/EventLoop Nytris packages.
Configuring the bundle
(TODO)