Прусов Александр d6c8a48484 | ||
---|---|---|
src | ||
tpl | ||
.gitignore | ||
README.md | ||
composer.json |
README.md
This package is used for code generation of PHP meta structs using Twig templates
Usage example:
$twig = \metagen_php\get_twig();
file_put_contents('bundle.inc.php',
$twig->render("codegen_bundle.twig",
['meta' => $meta]
)
);