alphavel/events
最新稳定版本:v1.0.0
Composer 安装命令:
composer require alphavel/events
包简介
Event dispatcher for Alphavel Framework
README 文档
README
Event dispatcher with pub/sub pattern
✨ Features
- 📢 Event dispatcher - Pub/sub pattern
- 🎯 Laravel-compatible - Familiar API
- 🔄 Multiple listeners - Per event
- 🚀 Swoole-safe - Coroutine-compatible
📦 Installation
composer require alphavel/events
🚀 Quick Start
use Event; // Listen Event::listen('user.created', function($user) { Log::info('New user', ['id' => $user->id]); }); // Dispatch Event::dispatch('user.created', $user);
📚 Documentation
Full documentation: https://github.com/alphavel/documentation/blob/master/packages/events/README.md
📄 License
MIT License
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2025-11-19