Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 738 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 738 Bytes

array_dot

array_dot method to navigate into array

Build Status codecov Total Downloads

How to install

Composer:

$ composer require 00f100/array_dot

or add in composer.json

{
    "require": {
        "00f100/array_dot": "*"
    }
}

How to use

<?php

$array = [];

array_dot($array, 'config.item', 'content');

// Print: content
echo array_dot($array, 'config.item');