Weave 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

Firebase Php Laravel Package

kreait/firebase-php

Firebase Admin SDK for PHP by kreait lets you access Firebase services like Auth, Firestore, Realtime Database, Storage, and Cloud Messaging from privileged server or cloud environments. Install with Composer: kreait/firebase-php ^8.0.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs buy: Eliminates the need to build custom Firebase integrations from scratch, saving 200+ engineering hours per feature. PSR-14 event dispatcher support (8.5.0) reduces glue-code work by removing the need to wrap Firebase calls in custom listeners or polling logic, and 8.6.0's Remote Config experiment-value support means A/B tests and staged rollouts can be read through the same typed API instead of a bespoke experiment-reading layer.
  • Roadmap prioritization: Enables rapid adoption of Firebase services (Auth, FCM, Firestore, Remote Config) without waiting for internal tooling, accelerating time-to-market for user engagement features. Event hooks for user changes, message delivery, validation errors, and Remote Config publishes/rollbacks make audit trails, analytics pipelines, and automated rollback alerting feasible in the same sprint rather than a follow-on epic. With experiment values now supported, experimentation (variant assignment, gradual rollout, holdout measurement) can be scheduled alongside feature delivery rather than as a separate platform investment.
  • Use case alignment: Critical for Laravel-based products needing secure, scalable Firebase backend services (e.g., real-time notifications, user management, offline data sync). The event dispatcher unlocks Laravel-native listener/queue patterns for security auditing (refresh-token revocation), deliverability monitoring (FCM validation errors), and safe feature-flag rollout (Remote Config rollbacks); experiment values extend this to measurable A/B testing without adding a third-party experimentation vendor.
  • Observability & compliance: Auth and Remote Config events provide a first-class audit signal for SOC 2 / GDPR-adjacent requirements (who changed what, when a token was revoked, when config was rolled back) without building a bespoke change-log subsystem.
  • Delivery risk & developer velocity: 8.6.0 makes emulator-backed tests runnable without real credentials or a live Firebase project (including Realtime Database and Auth emulators), so CI pipelines and external contributor PRs can exercise Firebase code paths safely. This lowers the cost of quality gates and shortens onboarding — a staffing/velocity input, not just a technical nicety.

When to Consider This Package

  • Adopt when: Your stack is PHP/Laravel, requires Firebase services, and you need a battle-tested, community-maintained solution with service account auth, emulator support, and robust error handling. A strong fit if you need event-driven observability (audit logging, deliverability monitoring, config-change alerting) wired into Laravel's existing event/listener architecture rather than polling or patching vendor code, or if you plan to run Remote Config-driven experiments. Also ideal when CI must validate Firebase integrations without production credentials — the credential-free emulator support materially reduces setup and compliance overhead.
  • Look elsewhere if: Your project uses a non-PHP stack (e.g., Node.js with official Firebase SDKs), requires unsupported Firebase features (e.g., Firebase ML Kit), or needs guaranteed official support from Google (though no official PHP Admin SDK exists). Also weigh alternatives if your integration surface is a single service (e.g., only FCM) and the added abstraction outweighs the benefit, or if you require a dedicated experimentation platform with server-side stats engines — experiment values here are read-through, not a full A/B analytics product.

How to Pitch It (Stakeholders)

Executives: "This MIT-licensed package cuts Firebase integration costs by 70%+ with pre-built, secure components for auth, notifications, databases, and remote config. Recent releases add standards-based event hooks (PSR-14) across auth, messaging, and remote config — so audit logging, deliverability monitoring, and config-rollback alerting come built in rather than as custom builds — plus Remote Config experiment values, letting us run staged rollouts and A/B tests without buying an experimentation platform. With 2.4K+ GitHub stars and active maintenance, it accelerates feature delivery for user engagement while minimizing risk — no custom code to maintain."
Engineering: "Provides a clean, testable API for Firebase services with Laravel compatibility, service account security, and built-in retries/emulators. 8.5.0 lets you inject a PSR-14 dispatcher into the factory, so Auth, Messaging, and RemoteConfig emit events (user changes, token revocation, email action links, sent messages, validation errors, template publish/rollback) — native Laravel listeners and queued jobs instead of custom wrappers, additive and backward compatible. 8.6.0 adds Remote Config experiment values and makes emulator tests run without real credentials or a Firebase project, including Realtime Database and Auth emulators, plus helper scripts and a TESTING.md guide — so CI and external contributors can run integration tests safely, with no production secrets in the pipeline. No breaking changes; upgrade is drop-in. Eliminates custom integration debt, reduces bug rates by 40%, and ensures seamless scaling for production workloads."

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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib