PHP vs NextJS

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
  • prisma1

    💾 Database Tools incl. ORM, Migrations and Admin UI (Postgres, MySQL & MongoDB)

    I really like React.js and use it all the time, and I recently started using Typescript with it after years of sticking with Flow. I actually really like Next.js and would use it again, it just wasn't a good fit for a Markdown powered site. I'd consider using it again in future if I wanted something with a database, but I'd be sure to use Typescript and I'd use https://www.prisma.io/ for the ORM.

  • inertia-laravel

    The Laravel adapter for Inertia.js.

    If you're going Laravel, I strongly suggest taking a look at https://inertiajs.com/. If you're only going to be building the API for your JS front-end to communicate with, you can skip the "api-ness" of it and just write your controllers like you would if you were building Blade views. Avoids doubling up on routing, you can keep your routing all on the backend. Simplifies auth cause you can just use cookies and not bother with tokens which inherently introduce security risks (local storage in browsers is less secure than session cookies).

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

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