Weave 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.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table