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
Data Transformer

Data Transformer Laravel Package

weblabel/data-transformer

weblabel/data-transformer is a Laravel/PHP package for transforming arrays, objects, and application data into clean, consistent output using reusable rules. It helps keep APIs, resources, and presentation logic organized and maintainable.

View on GitHub
Deep Wiki
Context7

weblabel/data-transformer is a lightweight PHP package for reshaping, mapping, and sanitizing structured data before it reaches your application logic. It lets you define transformation rules that convert raw arrays or objects—such as API payloads or form input—into a consistent, predictable shape, with support for nested keys, type casting, and default values. The API is framework-agnostic but integrates cleanly with Laravel service containers and validation workflows.

  • Declarative key mapping between source and target fields
  • Type casting and value normalization for scalars, arrays, and nested structures
  • Configurable defaults and fallbacks for missing keys
  • Chainable transformation pipelines for repeatable data preparation
  • Simple, dependency-free core with optional Laravel integration
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