serrexlabs/laravel-cqrs

There is no license information available for the latest version (dev-master) of this package.

dev-master 2018-07-25 18:03 UTC

This package is auto-updated.

Last update: 2024-04-29 03:44:49 UTC


README

Initiating Project

php artisan init:project <project-name>

Module creation

php artisan make:module

Command creation

php artisan make:cqrs:command <command-name>

  • As a convention, append Command postfix end of every command (Ex: SampleCommand)

Query creation

php artisan make:cqrs:query <cquery-name>

  • As a convention, append Query postfix end of every query (Ex: SampleQuery)

Repository creation

php artisan make:repository <repository-name>

  • As a convention, append Repository postfix end of every repository (Ex: SampleRepository)