nontre/cqrs 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nontre/cqrs

最新稳定版本:v1.0.0

Composer 安装命令:

composer require nontre/cqrs

包简介

Common interfaces for CQRS pattern

README 文档

README

Overview

This library provides interfaces and base classes for implementing the Command Query Responsibility Segregation (CQRS) pattern in PHP. CQRS is a design pattern that separates read and write operations into different models to optimize performance, scalability, and security. This library is designed to simplify the implementation of CQRS in your PHP projects.

Features

  • Command Handlers: Interfaces and base classes to handle commands.
  • Query Handlers: Interfaces and base classes to handle queries.
  • Event Sourcing Support: Basic support for event sourcing.
  • Dependency Injection Ready: Designed to work seamlessly with DI frameworks.
  • Extensible: Easily extend the provided interfaces and base classes to fit your specific needs.

Installation

You can install the library via Composer or by including the source code in your project.

Composer

composer require nontre/cqrs

Manual

Include the source code files in your project. Ensure you maintain the directory structure.

Getting Started

To get started with this CQRS library, follow these steps:

  1. Define Commands and Queries: Create classes for your commands and queries.
  2. Implement Handlers: Implement command and query handlers using the provided interfaces.
  3. Register Handlers: Register your handlers with your dependency injection framework.

Acknowledgements

A significant portion of the source code for this library was extracted and adapted from the CodelyTV repository. We are grateful to CodelyTV for their excellent resources and contributions to the development community. 🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固