Lily
Lily is a yaml parser that support import .yaml file from submodule, (*1)
usage
composer require superbogy/Lily
, (*2)
yaml :, (*3)
parameters:
$ref: ./paramters/index.yaml
paths:
$ref: ./routers/index.yaml
definitions:
$ref: ./definitions/index.yaml
example:, (*4)
use Lily\Parser;
$root = ROOT;
$lily = new Parser($root, $entry);
$data = $lily->run();