Go to file
Pavel Shevaev 7c0dff92d1 Изменил(а) на 'README.md' 2022-12-06 16:24:40 +03:00
src Fix 2022-12-06 15:48:23 +03:00
tpl Gradually implementing PHP codegen 2022-12-06 13:36:09 +03:00
.gitignore First commit 2022-12-05 18:21:32 +03:00
README.md Изменил(а) на 'README.md' 2022-12-06 16:24:40 +03:00
composer.json Tweaking stuff 2022-12-06 15:07:46 +03:00

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]
  )
);