From 6f81fc353fd637a4300c6e7c9850ce2e99769ef3 Mon Sep 17 00:00:00 2001 From: ps Date: Tue, 6 Dec 2022 16:24:22 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=BE=D0=B7=D0=B4=D0=B0=D0=BB(=D0=B0)=20?= =?UTF-8?q?'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 README.md 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