pragmarx/ia-arr
Illuminate\Support\Arr extracted from Laravel, repackaged as a framework-agnostic PHP library. Provides the full set of Arr helpers under the IlluminateAgnostic\Arr namespace to avoid conflicts, usable in any project (including Laravel).
Arr::get(), Arr::set(), or Arr::pluck().Arr helpers if needed.Arr methods (e.g., for future Laravel integration).Illuminate\Support\Arr to avoid duplication.Symfony\VarDumper (dependency) may not justify use for ultra-high-frequency operations.Illuminate namespace usage in codebase (though package mitigates this with IlluminateAgnostic).Arr (e.g., custom recursive logic).spatie/array or php-array for broader functionality (e.g., serialization, deep merging).For Executives:
"This package lets us leverage Laravel’s robust array manipulation tools—like Arr::get() or Arr::pluck()—without adopting the full Laravel framework. It’s a lightweight, MIT-licensed solution that reduces development time for common data transformations (e.g., parsing APIs, configuring nested settings). By standardizing array operations, we improve code consistency and maintainability, while keeping our tech stack flexible. The risk is minimal: it’s a direct extraction from Laravel’s codebase, with no vendor lock-in."
For Engineering:
*"This is a drop-in replacement for Laravel’s Arr helpers, but works anywhere. Key benefits:
Arr::get($data, 'user.profile.name', 'default')).How can I help you explore Laravel packages today?