Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 603 Bytes

02-installation.md

File metadata and controls

21 lines (14 loc) · 603 Bytes

Installation

Install the package with Composer. There is nothing to register or configure.

Requirements

  • PHP 8.5.x (each 8.x release line targets the matching PHP version)
  • ext-mbstring
  • pharaonic/php-readable ~8.5.0 (installed automatically)

Composer Installation

composer require pharaonic/php-dot-array

Composer autoloads the Pharaonic\DotArray namespace and the global dot() helper.

:::success Installation Complete You're all set! Try dot(['user' => ['name' => 'Raggi']])->get('user.name'), which returns "Raggi". :::