-
It is supported via the Spiral View. The viewmanager by default will call Stempler you can test it out in the example spiral application running in examples/usages/spiral direcotory visiting /spiral-view will call the template here: https://github.com/schranz-templating/templating/blob/0.1/examples/usages/spiral/app/views/base.dark.php
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
Latte
☕ Latte: the safest & truly intuitive templates for PHP. Engine for those who want the most secure PHP sites.
The target of the project is that more libraries / modules allow to use any Template engines the project want and see the more a as data provider. Also this kind of abstraction should make libraries e.g. a async mailer easier be integrated into different frameworks. A common usecase for myself is that Sulu CMS does not only support Twig but also other Template engines like example Latte which has interesting concept context aware escaping.
-
hexagonal-architecture-study
Project "Rabbit Hole": Dig into the rabbit hole of Hexagonal Architecture.
I think you are talking here not about the Templating abstraction. I think you are talking about Sulu. Sorry for measling you here, the Hexagonal Architecture Setup is not part of the Sulu Core yet so you will find there nothing yet on the Github Repository of our Hexagonal Architecture implementation. But we are working on a change in the upcoming 3.0. An older prototype about how we are doing Hexagonal Architecture can be found here: https://github.com/alexander-schranz/hexagonal-architecture-study (there are things which I definitly would change and mor go into DDD) but maybe it gives you an overview.
-
While I was working on Sulu CMS and did invest a lot about prototypes around Hexagonal Architecture. I did miss something specific in the PHP-Fig interfaces, a Interface for Template engines.
-
✅ Twig
-
✅ Symfony (Twig, Blade, Latte, Plates, Smarty, Handlebars, Mustache)
-
✅ Spiral (Twig, Blade, Latte, Plates, Smarty, Handlebars, Mustache, Spiral View)
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
✅ Handlebars
-
✅ Plates
-
✅ Mustache
-
Laravel
Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
✅ Laravel (Twig, Blade, Latte, Plates, Smarty, Handlebars, Mustache)
-
-
What I can say, since you're investing time into template engines, do you think any improvements can be made to transphporm? It was the one I looked for on your list and didn't see. Also happens to be the one I integrated for default suphle installations. Some points were raised in this issue https://github.com/Level-2/Transphporm/issues/5. I don't agree with all but I'm 100% on board with the idea of keeping all templating and logic outside the html