Go to file
Pavel Shevaev 2fc83c97b0 Merge pull request 'Add apply_array_filters for apply filters for array' (#1) from a.prusov/metagen_php:master into master
Reviewed-on: #1
2023-07-12 11:16:20 +03:00
src Change prefix from arr_ to fltarr_ for apply_array_filters 2023-07-11 20:43:25 +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]
  )
);