array_dot method to navigate into array
Composer:
$ composer require 00f100/array_dot
or add in composer.json
{
"require": {
"00f100/array_dot": "*"
}
}
<?php
$array = [];
array_dot($array, 'config.item', 'content');
// Print: content
echo array_dot($array, 'config.item');