Download the PHP package matthiasnoback/tail-event-stream without Composer
On this page you can find all versions of the php package matthiasnoback/tail-event-stream. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download matthiasnoback/tail-event-stream
More information about matthiasnoback/tail-event-stream
Files in matthiasnoback/tail-event-stream
Download matthiasnoback/tail-event-stream
More information about matthiasnoback/tail-event-stream
Files in matthiasnoback/tail-event-stream
Vendor matthiasnoback
Package tail-event-stream
Short Description A simple, tail-based event stream
License MIT
Package tail-event-stream
Short Description A simple, tail-based event stream
License MIT
Please rate this library. Is it a good library?
Informations about the package tail-event-stream
TailEventStream
An event stream library based on tail
.
Note: I don't think you should use this library in a real project, but it's great for educational purposes. I use it in workshops only."
Getting started
Install using Composer:
Usage
Adding messages to the stream:
The stream.txt
file contains one message per line:
Using tail -f
a consumer can read each message from the stream, and it will keep consuming messages until you quit the process:
consume()
accepts a second argument, which is the index (or line) at which to start.
All versions of tail-event-stream with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
beberlei/assert Version ^3.3
symfony/process Version ^5.3 || ^6.0
ext-pcntl Version *
beberlei/assert Version ^3.3
symfony/process Version ^5.3 || ^6.0
ext-pcntl Version *
The package matthiasnoback/tail-event-stream contains the following files
Loading the files please wait ....