Download the PHP package edgetelemetrics/eventcorrelation without Composer
On this page you can find all versions of the php package edgetelemetrics/eventcorrelation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download edgetelemetrics/eventcorrelation
More information about edgetelemetrics/eventcorrelation
Files in edgetelemetrics/eventcorrelation
Package eventcorrelation
Short Description Event Stream correlation engine for PHP
License MIT
Informations about the package eventcorrelation
PHP Event Correlator (Event Sourcing)
PHP Event Correlator is an event correlation tool to process a stream of events, make decisions based on Rules sets, and perform actions based on these Rules.
Event correlation is useful in many areas. For example, log processing, microservice coordination, IoT event processing.
PHP-EC is being used in production for multiple IoT projects, some processing 10M+ events per day from multiple disparate systems.
Requirements
The package is compatible with PHP 8.0+
Installation
You can add the library as project dependency using Composer:
Performance can be improved by installing optional PHP extensions (ext-libuv or ext-libev)
Examples
See /examples directory
- Online shopping service
Getting Started
TBC.
Components are:
- Events: An event is made up of a type, date, id, and data
- Event Stream: A time ordered stream of events
- Input Processes: programs that provide event streams into PHP-EC. These can be PHP scripts, NodeJS, Bash script etc.
-
Actions: Programs that perform tasks when requested. This may be writing to a database, sending an email etc.
- Rules: Rules define a set of events to be processed within a defined time period. Once a Rule is matched or a defined timeout period is exceeded the rule can:
- run Actions (for example send email, write to database)
- emit Events (emit a new or modified event for another Rule to handle [chaining rules])
- run an additional input process (load more data into the system)
Cron Like Rules
PHP-EC supports rules that can call actions based on Cron time expressions, system start and system shutdown.
License
MIT, see LICENSE file.
Contributing
Bug reports (and small patches) can be submitted via the issue tracker. Forking the repository and submitting a Pull Request is preferred for substantial patches.
All versions of eventcorrelation with dependencies
ext-json Version *
ext-pcntl Version *
evenement/evenement Version ^3.0.1
edgetelemetrics/php-json-rpc Version ^1.2.0
clue/ndjson-react Version ^1.2.0
react/child-process Version ^0.6.5
react/event-loop Version ^1.3.0
psr/log Version ^1.0.1