Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Security improvements

  • Added #[SensitiveParameter] attributes to methods handling sensitive data (passwords, tokens, private keys)
    to prevent them from appearing in stack traces and error logs.

Breaking changes

  • The SDK supports only actively supported PHP versions. As a result, support for PHP < 8.3 has been dropped;
    supported versions are 8.3, 8.4, and 8.5.
  • Firebase Dynamic Links was shut down on August 25th, 2025
    and has been removed from the SDK.
  • Deprecated classes, methods and class constants have been removed.
  • Method arguments are now fully type-hinted
  • Type declarations have been simplified to reduce runtime overhead (e.g., Stringable|string to string).
  • The transitional Kreait\Firebase\Contract\Transitional\FederatedUserFetcher::getUserByProviderUid() method
    has been moved into the Kreait\Firebase\Contract\Auth interface
  • Realtime Database objects considered value objects have been made final and readonly
  • psr/log has been moved from runtime dependencies to development dependencies
  • Kreait\Firebase\Contract\Messaging::BATCH_MESSAGE_LIMIT constant has been removed
  • Exception codes are no longer preserved when wrapping exceptions
  • Kreait\Firebase\Messaging\CloudMessage builder methods have been renamed to follow the with* pattern:
    toToken() -> withToken(), toTopic() -> withTopic(), toCondition() -> withCondition().
    The old methods are deprecated but still available as aliases.

See UPGRADE-8.0 for more details on the changes between 7.x and 8.0.

7.x Changelog

https://github.com/kreait/firebase-php/blob/7.24.0/CHANGELOG.md


Important

Support the project: This SDK is downloaded 1M+ times monthly and powers thousands of applications.
If it saves you or your team time, please consider sponsoring its development.


This discussion was created from the release 8.0.0.
You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.