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

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

Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • Sonar - Write Clean Java Code. Always.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Zigi - Delete the most useless function ever: context switching.
  • 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.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • 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