Go to file
Pavel Shevaev fa795772bf
Publish PHP Package / docker (push) Successful in 6s Details
Using C# built-in initialization routines instead of MetaIO's methods
2024-03-26 11:21:33 +03:00
.gitea/workflows Добавить .gitea/workflows/build_composer.yaml 2024-02-13 15:07:21 +03:00
src Using C# built-in initialization routines instead of MetaIO's methods 2024-03-26 11:21:33 +03:00
tpl Array comparison generated code now takes bitfields token into account for array entries 2024-03-11 20:00:41 +07:00
.gitignore Minor tweaks 2022-12-07 17:19:24 +03:00
CHANGELOG.md Добавить CHANGELOG.md 2024-03-13 10:23:36 +03:00
README.md Adding basice README 2022-12-07 17:25:44 +03:00
composer.json Bumping deps 2023-08-16 14:36:12 +03:00

README.md

This package is used for code generation of C# meta structs using Twig templates

Usage example:

$twig = \metagen_cs\get_twig();
file_put_contents('bundle.cs', 
  $twig->render("codegen_bundle.twig", 
    [
     'namespace' => 'BitGames.Autogen',
     'meta' => get_meta()
    ]
  )
);