EN FR
← Packages

jdz/data

Data structures and collections

Overview

A PHP utility class for manipulating nested arrays using dot notation.

Features

  • Dot Notation: Access nested array values with simple dot notation
  • Numeric Keys: Work seamlessly with array indices
  • Bulk Operations: Set multiple values at once with merge support
  • Typed Getters: Type-safe retrieval with getBool(), getInt(), getArray()
  • Method Chaining: Fluent interface for elegant code
  • Null Handling: Optional null value preservation
  • Type Safe: Full PHP 8.0+ type declarations

Installation

composer require jdz/data