Download the PHP package arekxv/php-data-streamer without Composer
On this page you can find all versions of the php package arekxv/php-data-streamer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package php-data-streamer
Redis Data Streamer
Data streaming library which handles multiple redis drivers and provides easy access to Redis Streams and Consumer Groups.
Both php-redis and predis drivers are supported.
Installation
Through composer: composer require arekxv/php-data-streamer
Usage
This library supports both reading the data stream and writing to a data stream.
Reading and handling messages
To set your code to listen and read messages the code should be setup as follows:
Sending messages
To send messages you can send the data using code below:
Documentation
Documentation is available at: http://php-data-streamer.rtfd.io/
You can also build documentation manually or read it directly from docs
folder.
Building
- Install Python 3 and PIP
- Run
pip install mkdocs
- Run
mkdocs serve
to serve ormkdocs build
to build.
Tests
To run tests run composer test
.
License
Copyright Aleksandar Panic
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 or in this repository
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
All versions of php-data-streamer with dependencies
ext-json Version *
ext-mbstring Version *