Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Dot Access Data Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • This package is redundant in Laravel environments due to built-in 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.

When to Consider This Package

  • Only consider in non-Laravel PHP projects where no equivalent utility exists (e.g., standalone scripts without Laravel dependencies). For Laravel applications, never use this package—Laravel's 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.

How to Pitch It (Stakeholders)

"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."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests