2017 © Pedro Peláez
 

project blueprint

A blueprint project based on Laravel

image

serrexlabs/blueprint

A blueprint project based on Laravel

  • Friday, February 23, 2018
  • by serrexlab
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Initiating Project, (*1)

php artisan init:project <project-name>, (*2)

Module creation, (*3)

php artisan make:module * Then you need to specify the root directory * Ex: Root<module-name>, (*4)

Command creation, (*5)

php artisan make:cqrs:command <command-name> * As a convention, append Command postfix end of every command (Ex: SampleCommand), (*6)

Command Handler creation, (*7)

php artisan make:cqrs:command-handler <command-handler-name> * As a convention, append CommandHandler postfix end of every command handler(Ex: SampleCommandHandler), (*8)

Query creation, (*9)

php artisan make:cqrs:query <cquery-name>, (*10)

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

Query handler creation, (*11)

php artisan make:cqrs:query-handler <query-handler-name>, (*12)

  • As a convention, append QueryHandler postfix end of every query handler (Ex: SampleQueryHandler)

Repository creation, (*13)

php artisan make:repository <repository-name>, (*14)

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

The Versions