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

Technical Evaluation

The package provides dot notation access for nested data structures, but Laravel already includes equivalent functionality via Illuminate\Support\Arr (e.g., Arr::get(), Arr::set(), Arr::has(), Arr::add()). This creates significant redundancy. While the package offers ArrayAccess implementation and explicit exception handling (e.g., MissingPathException), Laravel’s Arr class is tightly integrated with the framework, supports all common use cases, and avoids dependency bloat. Technical risk is high due to unnecessary duplication—introducing this package would confuse developers about which tool to use and add maintenance overhead for features already covered by core Laravel. Key questions: Why use this over Laravel’s built-in Arr? Are there specific edge cases (e.g., / delimiter support) where Laravel’s helpers fall short? (They don’t—Laravel’s Arr already supports dot notation natively and handles / via string manipulation if needed.)

Integration Approach

No meaningful integration is recommended. Laravel’s Arr class is part of the framework’s core utilities,

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