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
v3.0.2

Fixed

  • Added missing return types to docblocks (#44, #45)
v3.0.1

Added

  • Adds ReturnTypeWillChange to suppress PHP 8.1 warnings (#40)
v3.0.0

Added

  • Added support for both . and /-delimited key paths (#24)
  • Added parameter and return types to everything; enabled strict type checks (#18)
  • Added new exception classes to better identify certain types of errors (#20)
  • Data now implements ArrayAccess (#17)
  • Added ability to merge non-associative array values (#31, #32)

Changed

  • All thrown exceptions are now instances or subclasses of DataException (#20)
  • Calling get() on a missing key path without providing a default will throw a MissingPathException instead of returning null (#29)
  • Bumped supported PHP versions to 7.1 - 8.x (#18)

Fixed

  • Fixed incorrect merging of array values into string values (#32)
  • Fixed get() method behaving as if keys with null values didn't exist
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
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
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