1 dépôt
Validation logic encapsulated within dedicated request objects to decouple filtering from business logic.
Distinct from Validation Logic: Distinct from generic validation routines: focuses on the architectural separation of validation rules into dedicated request classes.
Explore 1 awesome GitHub repository matching software engineering & architecture · Request-Based Validation. Refine with filters or upvote what's useful.
This project is a comprehensive guide to architectural standards and coding patterns for developing maintainable applications within the Laravel framework. It focuses on clean code standards, applying the single responsibility and DRY principles to ensure codebase predictability and consistency. The guide emphasizes decoupling components by moving business logic into service layers and shifting input validation into dedicated request classes to keep controllers lean. It advocates for the use of a service container and dependency injection to reduce class coupling and improve testability. The
Transfers validation rules from controllers into dedicated request classes to clean up handlers.