Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 383 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 383 Bytes

Lily

Lily is a yaml parser that support import .yaml file from submodule

usage

composer require superbogy/Lily

yaml :

parameters:
  $ref: ./paramters/index.yaml
paths:
  $ref: ./routers/index.yaml
definitions:
  $ref: ./definitions/index.yaml

example:

use Lily\Parser;

$root = ROOT;
$lily = new Parser($root, $entry);

$data = $lily->run();