Go to file
Pavel Shevaev 97db32ffc7 Fixing generic structs support 2023-08-08 15:06:15 +03:00
src Fixing generic structs support 2023-08-08 15:06:15 +03:00
tpl Adding initial support for null structs (but not generic ones) 2023-05-05 12:10:20 +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 Experimenting with composer deps 2022-12-14 16:30:52 +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]
  )
);