molibdenius/cqrs
Composer 安装命令:
composer require molibdenius/cqrs
包简介
CQRS library
README 文档
README
A modern PHP 8.3+ implementation of the Command Query Responsibility Segregation (CQRS) pattern, built with performance and scalability in mind.
✨ Features
- 🚀 HTTP and Queue-based Command Processing
- 🔄 Asynchronous Task Processing with RoadRunner
- 📦 Dependency Injection with PSR-11 Container
- 🎯 Event-Driven Architecture using Symfony Event Dispatcher
- 🌐 PSR-7/PSR-17 HTTP Messages for request/response handling
- 🛠 Built-in Retry Mechanism for failed tasks
- 📊 Logging with PSR-3 compatible loggers
- 🧪 Strict Types and modern PHP 8.3+ features
📋 Requirements
- PHP 8.3 or higher
- RoadRunner
- Composer
🚀 Installation
composer require molibdenius/cqrs
🏗 Project Structure
src/
├── ActionBus/ # Command/Query bus implementation
├── Dispatcher/ # HTTP and Queue dispatchers
├── Event/ # Event classes and subscribers
├── EventLoop/ # Event loop implementations
├── Exception/ # Custom exceptions
├── Registry/ # Action and handler registry
└── Result/ # Result objects
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
📧 Contact
- Email: molibdenius@gmail.com
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-12-20