telanflow/laravel-binlog

mysql binlog for laravel

0.2.4 2020-05-27 06:33 UTC

This package is auto-updated.

Last update: 2024-10-27 16:24:06 UTC


README

php-badge License

该扩展实现了 mysql replication protocol。

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

Runtime

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.