DataMapper
Core Feature: Transform data structures with templates and pipelines. Multi-format output (JSON, XML, YAML, CSV). Perfect for API integrations and ETL.
Core: Data mapping and DTOs for transforming and structuring data, plus powerful data manipulation tools.
DataMapper
Core Feature: Transform data structures with templates and pipelines. Multi-format output (JSON, XML, YAML, CSV). Perfect for API integrations and ETL.
SimpleDto & LiteDto
Core Feature: Type-safe, immutable Data Transfer Objects. SimpleDto supports JSON, XML, YAML, CSV. Framework-agnostic with optional deep integration for Laravel/Symfony. LiteDto is 7.6x faster.
DataAccessor
Read nested data with dot notation and wildcards. Analyze data structure with type information. Type-safe getters for arrays, objects, Collections and Models.
DataMutator
Modify nested data structures safely. Set, merge and unset values with wildcard support.
DataFilter
Query and filter data with SQL-like API. WHERE, ORDER BY, LIMIT and custom operators.
Utility Helpers
Simplify common operations with MathHelper, EnvHelper, StringHelper, ArrayHelper and ConfigHelper.
Framework-Agnostic + Deep Integration
Pure PHP with zero dependencies. Optional deep integration for Laravel and Symfony. No framework lock-in.
// From this messy API response...$apiResponse = [ 'data' => [ 'departments' => [ ['users' => [['email' => 'alice@example.com'], ['email' => 'bob@example.com']]], ['users' => [['email' => 'charlie@example.com']]], ], ],];
// ...to this clean result in a few lines$accessor = new DataAccessor($apiResponse);$emails = $accessor->get('data.departments.*.users.*.email');// Result: ['alice@example.com', 'bob@example.com', 'charlie@example.com']Installation
Install Data Helpers via Composer and get started in minutes.
Quick Start
Learn the basics with a 5-minute tutorial.
Examples
Browse 90+ code examples covering all features.
API Reference
Complete API documentation for all classes and methods.