00f100/array_dot

array_dot method to navigate into array

0.2.1 2018-08-04 19:36 UTC

This package is auto-updated.

Last update: 2024-12-18 07:01:20 UTC


README

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');