diff --git a/README.md b/README.md new file mode 100644 index 0000000..5d5083c --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +This package is used for code generation 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] + ) + ); \ No newline at end of file