jbzoo/data
JBZoo Data is a lightweight PHP library that wraps arrays and objects in a convenient Data class. Access nested values with dot notation, convert between formats, and simplify configuration, JSON, and request data handling in any PHP project.
Consider it when:
config('app.foo').count, serialization) plus dot-path reads/writes and validation in one small dependency.Look elsewhere when:
config(), ConfigRepository, and phpdotenv. Introducing a parallel config abstraction in a standard Laravel app creates two sources of truth — a maintenance tax with no user-visible payoff.spatie/laravel-data, plain readonly classes + a validator) give compile-time-ish guarantees this does not.Due diligence before adoption: confirm the repository/homepage actually resolves, verify the release cadence against real commit history (a 2026-07-20 release date should be corroborated by tags and changelog), and check whether an internal fork is needed for long-term safety.
To executives (one paragraph): Config handling is invisible until it breaks — a bad override or an unvalidated setting becomes an incident. We can either keep solving this per-feature or adopt a small, MIT-licensed, single-purpose library that standardizes how we read, validate, and export configuration. It's a low-cost, easily reversible decision: it removes recurring engineering effort without touching our architecture or licensing position. The main caveat is maintainer concentration, which we mitigate by pinning versions and keeping the abstraction thin enough to swap.
To engineering (the substance):
ArrayObject — a config collection with array/object access, dot-path get/set, validation, and conversion to JSON/YAML/INI/PHP arrays.How can I help you explore Laravel packages today?