-
Notifications
You must be signed in to change notification settings - Fork 0
Conventions
I prefer convention over configuration approach, therefore this package utilizes some conventions that come from Laravel.
Presented conventions are used by routing and console elements.
All the actions should have Action
postfix added to the class name, for example ShowUserAction
.
All the responders should have Responder
postfix added to the class name, for example ShowUserActionResponder
.
Suggested postfixes are used by responder's default auto-resolving mechanism (described here).
All the actions should be placed in app/Http/Actions
directory.
All the responders should be placed in app/Http/Responders
directory.
Suggested directories are used by Artisan generators (described here).
-
2.1. ADR
-
3.1. Conventions
3.2. Action & Routing
3.3. Responder
3.5. Exceptions
3.6. Console
3.7. Examples