How do you handle views?

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

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
  • lightncandy

    An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ),

    The cool thing about using Handlebars is that I can render it both in the client side, via JavaScript, and in the server side via some PHP compiler. I use lightncandy, and it works great.

  • handlebars.js

    Minimal templating on steroids.

    I'm creating a Site Builder that uses Handlebars templates for the view, which are Moustache templates, like this:

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • PoP

    Monorepo of the PoP project, including: a server-side component model in PHP, a GraphQL server, a GraphQL API plugin for WordPress, and a website builder (by leoloso)

    My project is this one: https://github.com/leoloso/PoP. This all belongs to the "Site Builder" layer, which is a work in progress. I don't know when I'll have it ready though (I'm currently working on the GraphQL server for WP layer, once I'm done there I'll move on to the Site Builder).

  • hotwire-rails

    Use Hotwire in your Ruby on Rails app

    I've been doing that a while until I just got sock of the JS spagetti and often duplicated code and went full on Angular CSR and never looked back. That being said, I've been seeing a lot recently about Laravel's Livewire and Symfony and Ruby on Rail's integration with Hotwire (stimulus+turbo).

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