Multiplayer cars game architecture with Laravel, react, and pusher?

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

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

    A Laravel package for the Firebase PHP Admin SDK

  • Though if you really want to use Laravel as your backend then I suggest you should use Laravel + Firebase combo. I have used this stack while building a realtime chat application like WhatsApp and love the architecture and simplicity. You can setup Firebase Admin SDK on your Laravel and update your RTDB or Cloud Firestore data from the server after validating it.

  • firebase-admin-node

    Firebase Admin Node.js SDK

  • Though if you really want to use Laravel as your backend then I suggest you should use Laravel + Firebase combo. I have used this stack while building a realtime chat application like WhatsApp and love the architecture and simplicity. You can setup Firebase Admin SDK on your Laravel and update your RTDB or Cloud Firestore data from the server after validating it.

  • 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
  • quickstart-android

    Firebase Quickstart Samples for Android

  • For this type of game, I suggest you should instead use Firebase. I'm not saying Laravel can't do that stuff, but there's a considerable overhead and setup complexity when building this type of stuff in Laravel. I suggest you use Realtime Database for ongoing games and when the game is finished move the data to either Cloud Firestore or Cloud Storage (if you want to archive it). You can use security rules for validation without involving the backend or if you have complex validation rules and current game state analysis is required then you can use callable Cloud Functions. I'm suggesting Firebase because you don't need to implement a WebSocket server/client architecture as real-time updates are easy to consume using both RTDB and Cloud Firestore.

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