anik / mercure
dunglas/mercure publisher implementation for any PHP-based application. Publish messages to the Mercure hub with Laravel Event Broadcasting & Laravel Notifications.
v1.1
2021-12-02 14:42 UTC
Requires
- php: ^7.2|^8.0
- firebase/php-jwt: ^5.2
- illuminate/support: ^6.0|^7.0|^8.0
- symfony/mercure: ~0.4.1
Requires (Dev)
- orchestra/testbench: ^4.0|^5.0|^6.0
- phpunit/phpunit: ^8.4|^9.3
- squizlabs/php_codesniffer: ^3.5
Suggests
- illuminate/broadcasting: To broadcast message through the mercure hub.
- illuminate/notifications: To notify client through the mercure channel.
README
- dunglas/mercure 的任何基于PHP的应用程序的发布实现。
- 该包还可以直接使用 Laravel Event Broadcasting 和 Laravel Notifications 将消息发布到 Mercure hub。
要求
此包需要
php
>= 7.2symfony/mercure
[~0.4.1]illuminate/support
[6.x, 7.x, 8.x]
安装
composer require anik/mercure
文档
详细的使用和文档在 这篇文章 中
问题和PR
人非圣贤,孰能无过
如果有任何错误,或者你认为应该有任何改进,请随时提出问题。如果你认为你可以解决其他提出的问题,请随时提出PR。