mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
documentation update php symfony (#1978)
* docs: php (symfony sdk) * docs: twig support for fragments --------- Co-authored-by: Cristian Toma <cristian.toma@vivre.eu>
This commit is contained in:
parent
4f75a38123
commit
798a32b1e8
@ -143,6 +143,7 @@ Here are some known implementations of the fragment concept:
|
|||||||
* PHP
|
* PHP
|
||||||
* [Latte](https://latte.nette.org/en/template-inheritance#toc-blocks) - Use the 3rd parameter to only render 1 block from the template - `$Latte_Engine->render('path/to/template.latte', [ 'foo' => 'bar' ], 'content');`
|
* [Latte](https://latte.nette.org/en/template-inheritance#toc-blocks) - Use the 3rd parameter to only render 1 block from the template - `$Latte_Engine->render('path/to/template.latte', [ 'foo' => 'bar' ], 'content');`
|
||||||
* [Laravel Blade](https://laravel.com/docs/10.x/blade#rendering-blade-fragments) - includes built-in support for template fragments as of v9.x
|
* [Laravel Blade](https://laravel.com/docs/10.x/blade#rendering-blade-fragments) - includes built-in support for template fragments as of v9.x
|
||||||
|
* [Twig](https://twig.symfony.com/doc/3.x/api.html#rendering-templates) - `$template->renderBlock('block_name', ['the' => 'variables', 'go' => 'here']);`
|
||||||
* Python
|
* Python
|
||||||
* [Django Render Block Extension](https://pypi.org/project/django-render-block/) - see [example code for htmx](https://github.com/spookylukey/django-htmx-patterns/blob/master/inline_partials.rst)
|
* [Django Render Block Extension](https://pypi.org/project/django-render-block/) - see [example code for htmx](https://github.com/spookylukey/django-htmx-patterns/blob/master/inline_partials.rst)
|
||||||
* [jinja2-fragments package](https://github.com/sponsfreixes/jinja2-fragments)
|
* [jinja2-fragments package](https://github.com/sponsfreixes/jinja2-fragments)
|
||||||
|
@ -138,6 +138,10 @@ These examples may make it a bit easier to get started using htmx with your plat
|
|||||||
|
|
||||||
- <https://github.com/michalsn/codeigniter-htmx-demo>
|
- <https://github.com/michalsn/codeigniter-htmx-demo>
|
||||||
|
|
||||||
|
### Symfony
|
||||||
|
|
||||||
|
- <https://github.com/tomcri/htmxfony>
|
||||||
|
|
||||||
## Elixir
|
## Elixir
|
||||||
|
|
||||||
### Phoenix
|
### Phoenix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user