gnugat/marshaller
gnugat/marshaller is a small, framework-agnostic PHP library for marshalling data: it converts arrays into objects and objects back into arrays through configurable builders and extractors, making it easy to map raw input to domain objects in any project.
Marshaller can iterate over a collection and dispatch each element to the appropriate MarshallerStrategy, reducing custom loop/switch glue in controllers, jobs, imports, exports, and integration flows.Marshaller/MarshallerStrategy concepts or needs strategy-based transformation for each item in a collection.Marshaller process collections by applying the right MarshallerStrategy per element. It is most valuable as a standardization and maintenance reduction play for collection-heavy data flows, not as a platform-wide architecture change.How can I help you explore Laravel packages today?