First version of PHP Templating Abstraction released

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

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.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. templating

    A template abstraction prototype for php template engines. (by schranz-templating)

    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

  2. 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.

    CodeRabbit logo
  3. 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.

  4. 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.

  5. sulu

    Core framework that implements the functionality of the Sulu content management system

    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.

  6. Twig

    Twig, the flexible, fast, and secure template language for PHP

    Twig

  7. Symfony

    The Symfony PHP framework

    Symfony (Twig, Blade, Latte, Plates, Smarty, Handlebars, Mustache)

  8. Spiral Framework

    High-Performance PHP Framework (by spiral)

    ✅ Spiral (Twig, Blade, Latte, Plates, Smarty, Handlebars, Mustache, Spiral View)

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. handlebars-php

    A simple, logic-less, yet powerful templating engine for PHP

    ✅ Handlebars

  11. Plates

    Native PHP template system

    Plates

  12. Mustache

    A Mustache implementation in PHP.

    Mustache

  13. 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)

  14. fig-standards

    Standards either proposed or approved by the Framework Interop Group

  15. Transphporm

    Transformation Style Sheets - Revolutionising PHP templating

    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

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Symfony 7 vs. .NET Core 8 - Templating

    2 projects | dev.to | 29 Jul 2024
  • Modern PHP Development in 2024

    3 projects | dev.to | 2 Jun 2024
  • The PHP Orkestra Framework

    7 projects | dev.to | 5 May 2024
  • ¿PHP, Muerto o No?

    2 projects | dev.to | 4 May 2024
  • PHP?! Isso ai não morreu?

    8 projects | dev.to | 21 Feb 2022

Did you know that PHP is
the 14th most popular programming language
based on number of references?