Modern PHP Cheat Sheet

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

Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
  • GitHub repo eta (η)

    Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript (by eta-dev)

    Eta is a very similar template engine to EJS. It's supposed to be faster, lighter, with async templates.

  • GitHub repo

    The source code of

    The guys behind it work at Spatie[1] which you have probably heard of some of their packages, and Freek has a blog[2] that has a lot of PHP stuff on - lots Laravel, and lots just general new language stuff (covering PHP8 features etc)


  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo nodejs-server-pages

    FastCGI server for using Node.JS in server-side templated pages, in the style of PHP.

    Not my cup of tea, but if you really want PHP-like with JS, EJS looks really close to "I wish server-side javascript worked like PHP":

    Just needs a FastCGI wrapper.

    Another "Node, but PHP like" project that compares itself to EJS and other similar things:

  • GitHub repo Psalm

    A static analysis tool for finding errors in PHP applications

    PHP doesn't do such structural typing, but Psalm[1] can do it statically. It calls them object-like arrays.[2]


  • GitHub repo credo

    A static code analysis tool for the Elixir language with a focus on code consistency and teaching.

  • GitHub repo API Platform

    Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.

    If you really want things to happen fast, you can also take a look at api platform:

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