R - A PHP Resource Loader
A very simple way to interact with data in a json file by callin R(The.Key)
. v0.1
has more features, is more complicated, and I don't recommend it.
Install
composer require taeluf/resource v0.2.x-dev
or in your composer.json
{"require":{ "taeluf/resource": "v0.2.x-dev"}}
Usage
It's very simple with basically no features.
$r = \R::setup();
$r->load($json_file_path);
$info = R("Footer.Items");