Go to file
Pavel Shevaev dd3773b821
Publish PHP Package / docker (push) Successful in 6s Details
Specifying enum default value as 0 if it contains no items
2024-09-30 20:29:14 +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 Specifying enum default value as 0 if it contains no items 2024-09-30 20:29:14 +03:00
.gitignore First commit 2022-12-05 18:21:32 +03:00
CHANGELOG.md Обновить CHANGELOG.md 2024-04-23 09:03:36 +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]
  )
);