Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Dto Validator Bundle

Dto Validator Bundle Laravel Package

stas-plov/dto-validator-bundle

stas-plov/dto-validator-bundle adds DTO-based validation to PHP applications, letting you define rules for data transfer objects and keep request/input handling clean and reusable. A lightweight bundle for structured validation workflows.

View on GitHub
Deep Wiki
Context7

DTO Validator Bundle integrates the Symfony Validator component with plain PHP DTOs, letting you declare constraints via attributes directly on your data-transfer objects and validate them through the container. It bridges the gap between Symfony's constraint system and lightweight, immutable data objects, so payloads, commands, and API inputs can be checked without scattering validation logic across controllers or services.

  • Attribute-based constraints on DTO properties, no boilerplate configuration
  • Autowired validator service for validating any DTO instance
  • Support for nested DTOs and constraint groups
  • Clear, structured violation messages for error responses
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource