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.
. and /-delimited key paths (#24)Data now implements ArrayAccess (#17)DataException (#20)get() on a missing key path without providing a default will throw a MissingPathException instead of returning null (#29)get() method behaving as if keys with null values didn't existhas() method to check for the existence of the given key (#4, #7)$default parameter to the get() method (#2)Initial release!
How can I help you explore Laravel packages today?