TwigBridge
TwigBridge copied to clipboard
Give the power of Twig to Laravel
Hey, I am trying to use the twigphp/cache-extra (https://twig.symfony.com/doc/3.x/tags/cache.html) extension in TwigBridge. In `app/config/twigbridge.php` I added in extensions->enabled section an entry: ``` TwigExtraCacheExtension::class, ``` When I try to use the...
This PR addresses an issue we were experiencing with Facades. We're upgrading an old project from Laravel 5.5 to 9.x that utilizes a few facades to generate code, specifically Laravel...
I followed the instructions to add the package to lumen, but I get the following error: Call to undefined function TwigBridge\Node\resolve() In the file: /src/Node/EventNode.php on line 32, the function...
Hi, regarding #18 I want to add the {% trans %} tag but the mentioned issue was from 2013 and it is not working right now. I'm using Laravel 8...
I'm looking to inject php GraphQL query results , with queries defined in Twig(Bridge) templates, using Twig Extension in Laravel8 I've asked here, https://stackoverflow.com/questions/66665429/how-to-inject-php-graphql-query-results-with-queries-defined-in-twigbridge-t but don't expect bumping into someone...
I have a question. Is it posible to store template/view files in a database with TwigBride? I want to run multiple domains on one codebase with twig templates in sandboxmode....
I'm using some pre-existing Twig templates in a new Laravel 8 app. These contain lines like: ``` {% filter markdown %}{% include 'foo/bar.md' %}{% endfilter %} ``` This produces the...
update to Twig 3.0
Any way to getting the naming such as `view.html.twig` working? The standard `view('index')` with `index.twig` works, but the intermediary extension carries value when you're using Twig to build things other...
I'm using laravel-modules package. How i can lint twig file in folder Modules/module_name/Resources/Views ?