hyperf-component / alarm
The alarms component for Hyperf.
v3.1.1
2024-03-31 01:13 UTC
Requires
- php: >=8.1
- hyperf/logger: ~3.1.0
This package is auto-updated.
Last update: 2025-03-04 04:26:47 UTC
README
The alarm component for Hyperf.
Installation
- Installation
composer require hyperf-component/alarm
发布配置
php bin/hyperf.php vendor:publish hyperf-component/alarm
Add Middleware
<?php // config/autoload/middlewares.php return [ 'http' => [ HyperfComponent\Alarm\Middleware\AlarmMiddleware::class, ], ];