Go to file
Pavel Shevaev dc1933e63c
Publish PHP Package / docker (push) Successful in 6s Details
Fixing subclass check
2024-04-22 16:54:16 +03:00
.gitea/workflows Добавить .gitea/workflows/build_composer.yaml 2024-02-13 15:06:36 +03:00
src Fixing subclass check 2024-04-22 16:54:16 +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
CHANGELOG.md Добавить CHANGELOG.md 2024-03-13 10:20:17 +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]
  )
);