nwidart/laravel-normalizer
A Laravel package for normalizing data into consistent, predictable formats. Define custom normalizers to clean and transform input, making validation and storage simpler across your application.
Architecture fit
FormRequest::prepareForValidation, Arr:: helpers, casts, DTO/hydrator layers, validation rules). The adoption case is only "we are already hand-rolling this and want it centralized," not "this unlocks capability."Integration feasibility
composer.json constraints (PHP floor from the 0.2 scalar-type-hint change, illuminate/* range) to be PHP 7.0 / Laravel 5.x era and to fail resolution against a current PHP 8.x / Laravel 10–11 host. A clean composer require is the first thing to test, not assume.--ignore-platform-reqs or hand-editing constraints to force it in is a red flag, not a workaround. Treat a constraint conflict as a decision point (fork vs. build), not a plumbing problem.Technical risk
TypeError at runtime, not install-time. Any use of removed/deprecated Laravel helpers or loose-typing expectations will surface only on execution paths you exercise.Key questions
composer.json constraints for PHP and illuminate/*, and does resolution succeed on our current Laravel/PHP matrix without flags?strict_types and under PHP 8.x at all — or is that our test burden?Stack fit
Migration path
Compatibility
illuminate/* range, and transitive dependencies explicitly; record the supported matrix in the repo README or ADR.TypeError candidates.Sequencing
Maintenance
composer update pickup.Support
Scaling
Failure modes
TypeError from null or incompatible arguments on edge-case inputs; subclass signature incompatibility in app adapters.Ramp-up
How can I help you explore Laravel packages today?