Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Firebase Laravel Package

kreait/laravel-firebase

Laravel integration for the Firebase PHP Admin SDK. Configure Firebase service account credentials via env/JSON/array, access Firebase services through Laravel’s container/facades, and support multiple Firebase projects in one app.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Firebase Integration Roadmap: Accelerates adoption of Firebase services (Auth, Firestore, Storage, etc.) in Laravel apps, reducing backend development time for features like user authentication, real-time databases, or file storage.
  • Build vs. Buy: Eliminates the need to build custom Firebase SDK wrappers, saving engineering effort while ensuring compatibility with Laravel’s ecosystem.
  • Multi-Tenancy & Scalability: Supports multiple Firebase projects per Laravel app, enabling microservices or tenant-isolated deployments (e.g., SaaS platforms).
  • Use Cases:
    • Authentication: Replace custom auth systems with Firebase Auth (email/password, OAuth, phone auth).
    • Real-Time Data: Use Firestore/Realtime Database for collaborative features (e.g., live dashboards, chat apps).
    • File Storage: Offload media storage to Firebase Storage with Laravel integration (e.g., user uploads, avatars).
    • Analytics/Notifications: Leverage Firebase Messaging for push notifications or Remote Config for feature flags.
    • Serverless Backends: Combine with Laravel’s API routes to create lightweight backends using Firebase’s managed services.

When to Consider This Package

  • Adopt When:

    • Your Laravel app needs Firebase services (Auth, Firestore, Storage, etc.) with minimal boilerplate.
    • You’re using Laravel 10+ (supports up to Laravel 13) and PHP 8.3+ (PHP 8.5 ready).
    • You require multi-project support (e.g., staging/production environments) or tenant isolation.
    • You want dependency injection or facade-based access to Firebase SDKs (avoids manual Factory instantiation).
    • Your team prefers MIT-licensed, actively maintained packages (last release: May 2026).
  • Look Elsewhere If:

    • You need Firebase Client SDK (for frontend/web apps) – use the official Firebase JS SDK instead.
    • Your app uses Laravel <10 or PHP <8.3 (package drops support for older versions).
    • You require custom Firebase features not covered by the Admin SDK (e.g., advanced ML, extensions).
    • You’re building a Lumen app (officially unsupported since v5.0.0).
    • You need real-time database triggers (use Cloud Functions for Firebase instead).

How to Pitch It (Stakeholders)

For Executives:

*"This package lets us integrate Firebase’s managed services (auth, databases, storage) into our Laravel app with weeks of development time saved—no need to build custom SDK wrappers. It’s battle-tested (1M+ monthly downloads), supports multi-environment deployments, and aligns with our cloud-first strategy. For example:

  • Launch user auth in 2 days instead of 2 weeks (Firebase Auth handles passwords, OAuth, and security).
  • Scale real-time features (e.g., live collaboration) without managing database servers (Firestore).
  • Reduce storage costs by offloading media to Firebase Storage with Laravel’s file system integrations. The MIT license and active maintenance (last update: May 2026) ensure long-term reliability."*

For Engineering:

*"This is a drop-in Laravel wrapper for the Firebase Admin PHP SDK, giving us:

  • Zero boilerplate: Dependency-injected Firebase clients (Auth, Firestore, Storage, etc.) via facades or DI.
  • Multi-project support: Configure separate Firebase projects for dev/staging/prod or tenant isolation.
  • Performance optimizations: Cached auth tokens and configurable HTTP clients (e.g., timeouts, middlewares).
  • Debugging tools: Log HTTP requests/responses to Laravel’s log channels for troubleshooting.
  • Future-proof: Supports Laravel 13 and PHP 8.5+, with clear upgrade paths. Tradeoff: Tight coupling to Firebase’s Admin SDK (not Client SDK), but that’s intentional for server-side use. Ready to demo in 1 hour—just need Firebase service account credentials."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope