New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

arseto/lumencqrs

CQRS Template for Laravel/Lumen
200 3
Install
composer require arseto/lumencqrs
Latest Version:v0.3.0
PHP:>=5.6.4
License:MIT
Last Updated:Sep 17, 2017
Links: GitHub  ·  Packagist
Maintainer: arseto

Build Status

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/lumencqrs in your project folder
  • For lumen, add this line to the bootstrap/app.php file
$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

elber/laravel-clean-architecture

DDD + Clean Architecture scaffolding for Laravel

1,315 3
c4tech/ray-emitter

Dive into Domain Driven Design using Event Sourcing and CQRS within your Laravel...

151 0
longman/laravel-platfourm

Package to implement right Repository/Service architecture in Laravel 5.x

643 8
nwidart/laravel-broadway

A Laravel adapter for the Broadway ES/CQRS package.

15,023 123
avoqado-dev/laravel-usecase

A lightweight, type-safe Use Case pattern implementation for Laravel with busine...

1,843 22

Version History

Version Released PHP License
v0.3.0 >=5.6.4 MIT
v0.2.0 >=5.6 MIT
v0.1.0 >=5.6 MIT