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

Laravel Firebase Laravel Package

kreait/laravel-firebase

A Laravel integration for the Firebase PHP Admin SDK that lets you authenticate with service account JSON files or arrays and access Firebase services, including support for multiple projects.

View on GitHub
Deep Wiki
Context7
7.2.1
  • Fix HTTP and HTTP Debug logging (#260, #262)
7.2.0
  • Added support for symfony/cache:^8.0.8
7.1.0
  • Added support for Laravel 13
7.0.0
  • Upgraded kreait/firebase-php from 7.x to 8.x
  • Dropped support for PHP 8.2 (The SDK requires at least PHP 8.3)
6.2.0
  • The package is now ready for PHP 8.5
6.1.0
  • Added support for callable strings/arrays when defining Guzzle Middlewares. This ensures that the Firebase config can be cached. (#247)
6.0.0
  • Added support for Laravel 12
  • Dropped support for Laravel 9 and 10
  • Dropped support for PHP 8.1 (Laravel 11 requires at least PHP 8.2)
5.10.0
  • Added support for PHP 8.4
5.9.1
  • Revert making the Service provider deferrable. The auto discovery problem is hopefully still fixed because of the change in the latest version of the SDK.
5.9.0
  • Service Provider Registration is now deferred. This should fix the credentials auto discovery in Laravel's package discovery stage (#210)
5.8.0
  • Added support for Laravel 11 (#214)
5.7.0
  • Enabled using symfony/cache:^7
5.6.0
  • Added support for overriding the name of the Firestore Default Database (#209)
5.5.0
  • Added support for PHP 8.3
5.4.0
  • Added support for configuration of credentials with a config array (#202)
5.3.0
  • Enabled injecting middlewares into the Firebase API client (#187)
5.2.0
  • Added AppCheck support (#174)
5.1.0
  • Added support for Laravel 10
5.0.0
  • Upgraded kreait/firebase-php from 6.x to 7.x
  • Dropped support for PHP <8.1, Laravel <9.0
  • Dropped support for Lumen (it is not recommended anymore to use it)
  • The ability to disable credentials auto-discovery has been removed. If you don't want a service account to be auto-discovered, provide it by setting the GOOGLE_APPLICATION_CREDENTIALS environment variable or by modifying the package configuration.
4.2.0
  • Bumped dependencies, the minimum version of the underlying SDK is now 6.7.0.
  • Updated comment in config/firebase.php to reference the default HTTP timeout
    • With kreait/firebase 6.7.0, the default was changed from ∞ to 30 seconds.
4.1.0
  • Added support for Laravel 9 (#118)
4.0.0

This is a release with breaking changes. Please review the following changes and adapt your application where needed.

Changes

  • Added support for kreait/firebase-php ^6.0
  • Dropped support for kreait/firebase-php <6.0
  • Dropped support for Laravel/Lumen <8.0
  • Removed deprecated Facades - use the Kreait\Laravel\Firebase\Facades\Firebase facade instead
    • Kreait\Laravel\Firebase\Facades\FirebaseAuth
    • Kreait\Laravel\Firebase\Facades\FirebaseDatabase
    • Kreait\Laravel\Firebase\Facades\FirebaseDynamicLinks
    • Kreait\Laravel\Firebase\Facades\FirebaseFirestore
    • Kreait\Laravel\Firebase\Facades\FirebaseMessaging
    • Kreait\Laravel\Firebase\Facades\FirebaseRemoteConfig
    • Kreait\Laravel\Firebase\Facades\FirebaseStorage
  • Removed support deprecated config options and environment variables
    • $config['debug']/FIREBASE_ENABLE_DEBUG, use the http_debug_log_channel config option instead
3.4.0

Added

  • Added support for caching the authentication tokens used for connecting to the Firebase servers.
3.3.0

Added

  • Ensure support for all PHP 8.x versions (#110)
3.2.0

Added

  • Support for Database Auth Variable Overrides (#93)

Changed

  • Type-hints have been updated to point to the interfaces that the underlying SDK provides since more recent versions.
  • Bumped kreait/firebase-php dependency to ^5.24 (Database Auth Variable Overrides are supported since 5.22)
3.1.0

Added

  • Support for tenant awareness via FIREBASE_AUTH_TENANT_ID environment variable or firebase.projects.*.auth.tenant_id config variable. (#79) (thanks to [@sl0wik](https://github.com/sl0wik))
3.0.0

Added

Changed

Deprecated

  • Use of FirebaseAuth, FirebaseDatabase, FirebaseDynamicLinks, FirebaseFirestore, FirebaseMessaging, FirebaseRemoteConfig and FirebaseStorage facades

Removed

  • Dropped support Laravel 5.8 and Lumen 5.8
2.4.0

Added

  • PHP ^8.0 is now an allowed (but untested) PHP version
2.3.1

(no changes, I just somehow mis-tagged 2.3.0 🙈)

2.3.0

Added

  • Added support for Laravel 8.x
2.2.0

Added

  • It is now possible to log HTTP requests and responses to the Firebase APIs to existing log channels. See the "logging" section in config/firebase.php for the configuration options and the SDK Logging Documentation for more information.

Changed

  • The default branch of the GitHub repository has been renamed from master to main - if you're using dev-master as a version constraint in your composer.json, please update it to dev-main.
2.1.0
  • Add config option to debug HTTP requests made directly from the SDK. It is disabled by default and can be enabled with the FIREBASE_ENABLE_DEBUG=true environment variable or by adding 'debug' => true to config/firebase.php.
2.0.0
  • Update kreait/firebase to ^5.0
1.5.0
  • Updated kreait/firebase-php to ^4.40.1
  • Added support for Laravel/Lumen ^7.0
1.4.0
  • Updated kreait/firebase-php to ^4.40.0
  • A relative path to a credentials file is now resolved with base_path() to address issues on Windows systems #7
1.3.0
  • Added a notice about not using the factory pattern described in the SDK documentation when using this package. (Although not a code change, adding it in the changelog to enhance visibility)
  • Added support for Lumen
  • Updated kreait/firebase-php to ^4.38.1
1.2.0
  • Updated kreait/firebase-php to ^4.35.0
  • Added Firestore to the Service Provider and as FirebaseFirestore facade
1.1.0
  • Updated kreait/firebase-php to ^4.32.0
  • Added Dynamic Links to the Service Provider and as FirebaseDynamicLinks facade
  • Added FIREBASE_DYNAMIC_LINKS_DEFAULT_DOMAIN as environment variable

To update the package, please re-publish its configuration

php artisan vendor:publish --provider="Kreait\Laravel\Firebase\ServiceProvider" --tag=config

or add the following section to config/firebase.php:

<?php

return [
    // ...
    'dynamic_links' => [
        'default_domain' => env('FIREBASE_DYNAMIC_LINKS_DEFAULT_DOMAIN')
    ],
    // ...
];
1.0.1
  • Made clear that this package needs Laravel 5.8 or higher.
  • Updated kreait/firebase-php to ^4.30.1
  • Required illuminate/contracts and illuminate/support
1.0.0
  • Initial release
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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core