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
Castable Request

Castable Request Laravel Package

lionix/castable-request

Laravel package for casting incoming request data into typed objects and structured values, helping keep controllers clean and reducing manual array handling when working with validated input.

View on GitHub
Deep Wiki
Context7

lionix/castable-request bridges Laravel FormRequest validation and typed data objects: define casts directly on your request and let the package hydrate validated input into DTOs, collections, or custom castable values. Validation and transformation stay in one place, so controllers remain thin and free of manual mapping code.

  • Cast validated request data into DTOs and typed objects
  • Attribute-driven, declarative cast definitions
  • Integrates with Laravel's existing FormRequest flow
  • Eliminates repetitive array-to-object mapping in controllers
  • Extensible with custom casters for your own types
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