PHP vs NextJS

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • prisma1

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

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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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