metagen_php/README.md

10 lines
261 B
Markdown
Raw Permalink Normal View History

2022-12-06 16:24:40 +03:00
This package is used for code generation of PHP meta structs using Twig templates
2022-12-06 16:24:22 +03:00
Usage example:
$twig = \metagen_php\get_twig();
file_put_contents('bundle.inc.php',
$twig->render("codegen_bundle.twig",
['meta' => $meta]
)
);