arseto/lumencqrs
CQRS Template for Laravel\Lumen
Overview
- Implementation template for CQRS
- Use laravel/lumen IoC container for dependency injection by default (or you can override it)
Prerequisite
Installation
- execute
composer require arseto/lumencqrsin your project folder - For lumen, add this line to the
bootstrap/app.phpfile
$app->register(Arseto\LumenCQRS\Providers\CQRSServiceProvider::class);
- For laravel, add this line to 'providers' in
config/app.php
Arseto\LumenCQRS\Providers\CQRSServiceProvider::class,
Usage
- This package serves as template to implement CQRS
- Simply create command-handler pair and query-reader pair then inject the CommandBus and QueryBus to your controller
- Command-handler and query-reader pair must implement provided interfaces
Related Packages
c4tech/ray-emitter
Dive into Domain Driven Design using Event Sourcing and CQRS within your Laravel...
151
0
luminor/luminor
A modern, open-source DDD framework for building REST APIs and domain-driven app...
8
0
longman/laravel-platfourm
Package to implement right Repository/Service architecture in Laravel 5.x
642
8
avoqado-dev/laravel-usecase
A lightweight, type-safe Use Case pattern implementation for Laravel with busine...
1,422
22