Skip to content

Commit 0a5be5f

Browse files
committed
add templating engine install command
1 parent 2540b97 commit 0a5be5f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/framework/templating.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,20 @@ Use [PHP Pug as Template engine](https://github.com/pug-php/pug)
1212

1313
> [Pug Template renderer](https://github.com/antidot-framework/phug-template-renderer)
1414
15+
```bash
16+
composer require antidot-fw/phug-template-renderer
17+
```
18+
1519
## Twig Template Renderer
1620

1721
Use [Twig as Template engine](https://twig.symfony.com/)
1822

1923
> [Twig Template renderer](https://github.com/antidot-framework/twig-template-renderer)
2024
25+
```bash
26+
composer require antidot-fw/twig-template-renderer
27+
```
28+
2129
## Usage
2230

2331
Inject `Antidot\Render\TemplateRenderer` interface in your request handler constructor, then render given template with given parameters.

0 commit comments

Comments
 (0)