PHPackages                             afikrim/laravel-redis-stream - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. afikrim/laravel-redis-stream

AbandonedArchivedLibrary[Caching](/categories/caching)

afikrim/laravel-redis-stream
============================

A composer library to use redis stream as a message broker in laravel

1.1.7(4y ago)12470PHPPHP ^7.4|^8.0

Since Dec 18Pushed 3y ago1 watchersCompare

[ Source](https://github.com/afikrim/laravel-redis-stream)[ Packagist](https://packagist.org/packages/afikrim/laravel-redis-stream)[ RSS](/packages/afikrim-laravel-redis-stream/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (15)Used By (0)

Laravel Redis Stream
====================

[](#laravel-redis-stream)

Laravel Redis Stream is a package to help you handle event streaming between different applications powered by Redis.

Main concept of this package is to provide an easy way of storing new events from your application and consume it in your other applications.

Installation
------------

[](#installation)

You can install this package via composer using this command:

```
composer require afikrim/laravel-redis-stream
```

### Installation on Lumen

[](#installation-on-lumen)

After you install the package via composer, register a new service provider in `bootstrap/app.php`

```
$app->register(\Afikrim\LaravelRedisStream\LaravelRedisStreamServiceProvider::class);
```

> Note: don't forget to uncomment facades and register redis (please use predis because it can't work in phpredis)

Add configuration
-----------------

[](#add-configuration)

Add new redis connection for the `stream` :

```
