arabcoders / dot-notation
Array Dot Notation
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/arabcoders/dot-notation
Requires
- php: >=7.0.0
This package is auto-updated.
Last update: 2022-02-01 12:59:32 UTC
README
Array Dot Notation
Install
Via Composer
$ composer require arabcoders/dot-notation
Usage Example.
<?php require __DIR__ . '/../../autoload.php'; $list = [ 'one' => [ 'two' => 'foo' ] ]; $dot = new \arabcoders\DotNotation\DotNotation( $list ); var_dump( $dot->get('one.two') === $list['one']['two'] ); echo $dot->get('one.two');