dflydev/dot-access-data
Access and modify nested PHP arrays/objects using dot notation. Set, get, check, and append values with simple paths like a.b.c. Supports defaults and throws exceptions for missing paths—handy for configs and deep data structures.
Illuminate\Support\Arr functionality (e.g., Arr::get(), Arr::set()). PMs should avoid it to prevent technical debt from duplicate code and unnecessary dependencies. Instead, leverage Laravel's native tools for dot notation access—this ensures consistency, reduces maintenance overhead, and aligns with Laravel's ecosystem best practices.Arr class already supports all required functionality (dot notation, default values, path delimiters via string manipulation) with tighter framework integration. If advanced data manipulation is needed beyond Arr, use Laravel's Collection or custom utilities instead of introducing redundant dependencies."Laravel already provides fully integrated dot notation utilities via Illuminate\Support\Arr—a battle-tested, zero-configuration solution that handles all common use cases. Adding this package would create redundancy, confuse developers about which tool to use, and increase maintenance complexity without any functional benefit. We recommend leveraging Laravel's native tools to maintain a clean, consistent codebase and avoid unnecessary technical debt. This package has no place in Laravel projects."
How can I help you explore Laravel packages today?