telanflow/laravel-binlog

mysql binlog for laravel

Installs: 585

Dependents: 0

Suggesters: 0

Security: 0

Stars: 22

Watchers: 2

Forks: 3

Open Issues: 0

pkg:composer/telanflow/laravel-binlog

0.2.4 2020-05-27 06:33 UTC

This package is auto-updated.

Last update: 2025-09-27 18:36:31 UTC


README

php-badge License

该扩展实现了 mysql replication protocol。

可用于实时监听mysql数据变更、数据同步等场景

Runtime

PHP Laravel Mysql Swoole
>= 7.2 >=5.5 5.5/5.6/5.7 >=4.2

Install

composer require telanflow/laravel-binlog

Publish

默认设置在 config/binlog.php 中。将此文件复制到您自己的配置目录以修改值。

你可以使用这个命令发布配置:

php artisan vendor:publish --provider="Telanflow\Binlog\LaravelServiceProvider"

Documentation

Please see Wiki

Usage

php artisan mysql:binlog [start|stop|restart|infos|clean]

鸣谢

php-mysql-replication

laravel-swoole

License

The Laravel-Binlog package is open-sourced software licensed under the MIT license.