jgizinski/laravel-firebase-sync
Keep Laravel Eloquent models and Firebase Realtime Database in sync automatically. laravel-firebase-sync mirrors create, update, and delete events to Firebase, with configurable mappings and queued synchronization for reliable, real-time app data.
jgizinski/laravel-firebase-sync) and repository URL (mpociot/laravel-firebase-sync) disagree, which suggests a fork or transfer. Resolve provenance and license before anything else — this affects the "borrow" recommendation.Consider it when:
Look elsewhere when:
kreait/firebase-php and Laravel's queue/broadcast APIs.Adjacent options worth comparing: kreait/firebase-php used directly with a small observer layer; Laravel's native broadcasting with a managed driver; Supabase Realtime; or a CDC/outbox approach if consistency is the real requirement.
To executives: We can deliver realtime UX — live dashboards, presence, instant mobile updates — without adding a WebSocket vendor or building a sync platform. This package demonstrates the pattern cheaply, but it was last released in 2016 and has no downstream dependents, so we should not adopt it as a dependency. Recommendation: a one-week spike that forks the approach into ~300 lines we own, with a go/no-go gate on write volume and consistency needs. Upside is a sprint instead of a quarter; downside is contained to one engineer-week.
To engineering: Treat it as a design reference, not a library. The pattern is Eloquent model events → queued job → Firebase write. If we proceed, we own it: vendor and pin the code, move writes onto the queue, add idempotency keys, retry with backoff, a reconciliation/backfill command, and monitoring for drift. Firebase must be documented as derived state — never the source of truth — and we need an explicit consistency contract with the product team about how stale a realtime view may be. If any of those additions feel expensive, that's the signal to build it ourselves rather than inherit it.
How can I help you explore Laravel packages today?