PHPackages                             bazarov392/db-to-redis-events-laravel - 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. bazarov392/db-to-redis-events-laravel

ActiveLibrary[Caching](/categories/caching)

bazarov392/db-to-redis-events-laravel
=====================================

Events about data changes from the database to Redis

1.0.1(2y ago)08MITPHPPHP ^8.1

Since Jun 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/bazarov392/db-to-redis-events-laravel)[ Packagist](https://packagist.org/packages/bazarov392/db-to-redis-events-laravel)[ RSS](/packages/bazarov392-db-to-redis-events-laravel/feed)WikiDiscussions v1.0 Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

DB to Redis Events Laravel
==========================

[](#db-to-redis-events-laravel)

Events about data changes from the database to Redis.

- At the moment, it is only compatible with MySQL and Laravel because it uses models from Laravel.

Installion
----------

[](#installion)

Install package

```
composer require bazarov392/db-to-redis-events-laravel
```

Use
---

[](#use)

```
// app/Providers/AppServiceProvider.php
use Bazarov392\RedisEventsFromDB;

public function boot(): void
{
    RedisEventsFromDB::init();
    // ...
}
```

Docs
----

[](#docs)

Format message

```
db_event.{tableName}.{typeEvent}.{idRow}

```

- **tableName** - Table name
- **typeEvent** - Type event ( **created** | **updated** | **deleted** )
- **idRow** - If the column has a primary key, it will be listed here. If not, it will not be specified, but the JSON of the model will be in the body of the event.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

1071d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74b2c7a57c6d25e9545fd243c343670bbb41ea1fbd53d4178faed297388a62b8?d=identicon)[bazarov392](/maintainers/bazarov392)

---

Top Contributors

[![bazarov392](https://avatars.githubusercontent.com/u/85908635?v=4)](https://github.com/bazarov392 "bazarov392 (3 commits)")

---

Tags

phplaraveleventsredisdb

### Embed Badge

![Health badge](/badges/bazarov392-db-to-redis-events-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/bazarov392-db-to-redis-events-laravel/health.svg)](https://phpackages.com/packages/bazarov392-db-to-redis-events-laravel)
```

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

26.2k161.6k7](/packages/bagisto-bagisto)[krayin/laravel-crm

Krayin CRM

22.0k32.8k1](/packages/krayin-laravel-crm)[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

975163.6k2](/packages/awssat-laravel-visits)[swayok/alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea. Powered by cache pool implementations provided by http://www.php-cache.com/

202541.1k6](/packages/swayok-alternative-laravel-cache)[alexmg86/laravel-sub-query

Laravel subquery

7538.4k](/packages/alexmg86-laravel-sub-query)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
