serrexlabs / blueprint
A blueprint project based on Laravel
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=7.0.0
- fideloper/proxy: ~3.3
- laravel/framework: 5.5.*
- laravel/tinker: ~1.0
- league/fractal: ^0.17.0
- spatie/laravel-fractal: ^5.3
Requires (Dev)
- filp/whoops: ~2.0
- fzaninotto/faker: ~1.4
- mockery/mockery: ~1.0
- phpunit/phpunit: ~6.0
- symfony/thanks: ^1.0
This package is not auto-updated.
Last update: 2025-03-23 06:35:27 UTC
README
Initiating Project
php artisan init:project <project-name>
Module creation
php artisan make:module
- Then you need to specify the root directory
- Ex: Root<module-name>
Command creation
php artisan make:cqrs:command <command-name>
- As a convention, append Command postfix end of every command (Ex: SampleCommand)
Command Handler creation
php artisan make:cqrs:command-handler <command-handler-name>
- As a convention, append CommandHandler postfix end of every command handler(Ex: SampleCommandHandler)
Query creation
php artisan make:cqrs:query <cquery-name>
- As a convention, append Query postfix end of every query (Ex: SampleQuery)
Query handler creation
php artisan make:cqrs:query-handler <query-handler-name>
- As a convention, append QueryHandler postfix end of every query handler (Ex: SampleQueryHandler)
Repository creation
php artisan make:repository <repository-name>
- As a convention, append Repository postfix end of every repository (Ex: SampleRepository)