Go to file
Pavel Shevaev b99a386be2
Publish PHP Package / docker (push) Successful in 4s Details
Добавить .gitea/workflows/build_composer.yaml
2024-02-13 15:06:36 +03:00
.gitea/workflows Добавить .gitea/workflows/build_composer.yaml 2024-02-13 15:06:36 +03:00
src Adding convenience codegen(..) function 2023-11-14 23:20:18 +03:00
tpl Making PHPStan happy 2023-08-16 14:18:22 +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 Bumping deps 2023-08-16 14:38:51 +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]
  )
);