PackageTrack
Sign in Get early access

kreait/firebase-php

Firebase Admin SDK

8.4.0 47M downloads/mo #508 most downloaded on Packagist beste/firebase-php

What this package is like to depend on

Last release 18 days ago

05 Aug 2026

Release timing varies

gaps range from 2 weeks to 4 months

Rarely documented

notes for 11 of 242 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

245 releases · first in 2015

9 releases in the last 12 months

see the full history below

Release timeline

245 releases · Jan 2015 to Aug 2026
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 245
  1. 8.4.0 05 Aug 2026
    Release notes
    • Added support for guzzlehttp/guzzle:^8.0, guzzlehttp/psr7:^3.0 and guzzlehttp/promises:^3.0.
    • Updated the firebase/php-jwt constraint to ^7.0.2.
    Open source →
    Release notes
    • Added support for guzzlehttp/guzzle:^8.0, guzzlehttp/psr7:^3.0 and guzzlehttp/promises:^3.0.
    • Updated the firebase/php-jwt constraint to ^7.0.2. Although CVE-2025-45769 is rated as low severity, it has been disputed on the basis that applications, rather than the library, are responsible for choosing appropriate key lengths. Nevertheless, a review of the library's most-downloaded dependents showed that most already support version 7.x.
    Open source →
  2. 8.3.0 17 Jul 2026
    Release notes

    Security improvements

    • Restricted Realtime Database URLs to Firebase-owned hosts and reject non-root URLs with embedded paths, query strings, or fragments while preserving emulator support. Related OWASP Top 10:2025 entry: A02 Security Misconfiguration.
    • Updated dependency mtdowling/jmespath.php to 2.9.2 to address CVE-2026-54133
    Open source →
    Release notes

    Security improvements

    • Restricted Realtime Database URLs to Firebase-owned hosts and reject non-root URLs with embedded paths, query strings, or fragments while preserving emulator support. Related OWASP Top 10:2025 entry: A02 Security Misconfiguration.
    • Updated dependency mtdowling/jmespath.php to 2.9.2 to address CVE-2026-54133
    Open source →
  3. 8.2.0 04 Mar 2026
    Release notes
    • Added support for Unicode characters in email addresses.

    App Check

    • Added replay-protection verification for App Check tokens via verifyTokenWithReplayProtection(). The response now includes alreadyConsumed when replay protection is used.
    • Added transitional contract Kreait\Firebase\Contract\AppCheckWithReplayProtection. This was introduced to preserve backwards compatibility by avoiding a signature change to Kreait\Firebase\Contract\AppCheck::verifyToken() in the current major release.
    • Added dedicated exception Kreait\Firebase\Exception\AppCheck\FailedToVerifyAppCheckReplayProtection for replay-protection verification failures. It extends Kreait\Firebase\Exception\AppCheck\FailedToVerifyAppCheckToken for backwards compatibility.

    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.

    Open source →
    Release notes
    • Added support for Unicode characters in email addresses.

    App Check

    • Added replay-protection verification for App Check tokens via verifyTokenWithReplayProtection(). The response now includes alreadyConsumed when replay protection is used.
    • Added transitional contract Kreait\Firebase\Contract\AppCheckWithReplayProtection. This was introduced to preserve backwards compatibility by avoiding a signature change to Kreait\Firebase\Contract\AppCheck::verifyToken() in the current major release.
    • Added dedicated exception Kreait\Firebase\Exception\AppCheck\FailedToVerifyAppCheckReplayProtection for replay-protection verification failures. It extends Kreait\Firebase\Exception\AppCheck\FailedToVerifyAppCheckToken for backwards compatibility.
    Open source →
  4. 8.1.0 23 Jan 2026
    Release notes

    Added support for firebase/php-jwt:^7.0.2


    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.

    Open source →
    Release notes
    • Added support for firebase/php-jwt:^7.0.2
    Open source →
  5. 8.0.0 08 Jan 2026
    Release notes

    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.

    Open source →
    Release notes

    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.

    Open source →
  6. 7.24.1 18 Feb 2026
    Release notes

    Added support for firebase/php-jwt:^7.0.2 to remediate the vulnerabilities PKSA-y2cr-5h3j-g3ys and CVE-2025-4659.


    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.

    Open source →
  7. 7.24.0 27 Nov 2025
    Release notes

    Changed

    • Realtime Database references are now validated by the API instead of locally. Validation rules can change at any time, and the SDK can only adapt to changes in the API. While local checks could prevent obviously invalid paths, they'd also require an SDK update whenever Firebase loosens a rule. Developers can be trusted not to use invalid paths 😅.
    • Removed the #[SensitiveParameter] attribute again, because it's supported by PHP 8.1 itself, but not in combination with Valinor. (#1034)

    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.

    Open source →
  8. 7.23.0 12 Oct 2025
    Release notes

    Require cuyz/valinor:^2.2.1 for better mapping.

    Open source →
  9. 7.22.0 20 Sep 2025
    Release notes

    Added

    • Added support for PHP 8.5

    Changed

    • The project now features a custom logo (I came up with it myself, and took the wise decision to not look up if there's something similar already)
    • Refined README for improved clarity, removed outdated documentation sections, and streamlined project support messaging with a more positive call to action
    • Documentation now uses the modern Furo theme, providing a cleaner and more pleasant reading experience

    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.

    Open source →
  10. 7.21.2 15 Aug 2025
    Release notes

    Fixed

    • Re-added the #[SensitiveParameter] attribute because, while it's not supported in PHP 8.1, it can still be used if placed in a standalone line above the variable or property.
    • Re-added support for JSON files with any file extension
    • With the introduction of Valinor, Service Account credentials were required to have more fields than necessary to work with the SDK, although it only needs the client email, private key, and project ID.
    Open source →
  11. 7.21.1 24 Jul 2025

    Nothing published for this version

  12. 7.21.0 23 Jul 2025

    Nothing published for this version

  13. 7.20.0 17 Jul 2025

    Nothing published for this version

  14. 7.19.0 14 Jun 2025

    Nothing published for this version

  15. 7.18.0 08 Mar 2025

    Nothing published for this version

  16. 7.17.0 22 Feb 2025

    Nothing published for this version

  17. 7.16.1 20 Jan 2025

    Nothing published for this version

  18. 7.16.0 17 Nov 2024

    Nothing published for this version

  19. 7.15.0 10 Sep 2024

    Nothing published for this version

  20. 7.14.0 20 Aug 2024

    Nothing published for this version

  21. 7.13.1 02 Jul 2024

    Nothing published for this version

  22. 7.13.0 23 Jun 2024

    Nothing published for this version

  23. 7.12.0 26 May 2024

    Nothing published for this version

  24. 7.11.0 15 May 2024

    Nothing published for this version

  25. 7.10.0 25 Apr 2024

    Nothing published for this version

  26. 7.9.1 04 Dec 2023

    Nothing published for this version

  27. 7.9.0 30 Nov 2023

    Nothing published for this version

  28. 7.8.0 25 Nov 2023

    Nothing published for this version

  29. 7.7.0 25 Nov 2023

    Nothing published for this version

  30. 7.6.0 06 Sep 2023

    Nothing published for this version

  31. 7.5.2 24 Aug 2023

    Nothing published for this version

  32. 7.5.1 29 Jun 2023

    Nothing published for this version

  33. 7.5.0 26 Jun 2023

    Nothing published for this version

  34. 7.4.0 18 Jun 2023

    Nothing published for this version

  35. 7.3.1 10 Jun 2023

    Nothing published for this version

  36. 7.3.0 03 Jun 2023

    Nothing published for this version

  37. 7.2.1 03 Apr 2023

    Nothing published for this version

  38. 7.2.0 24 Mar 2023

    Nothing published for this version

  39. 7.1.0 28 Feb 2023

    Nothing published for this version

  40. 7.0.3 13 Feb 2023

    Nothing published for this version

  41. 7.0.2 27 Jan 2023

    Nothing published for this version

  42. 7.0.1 24 Jan 2023

    Nothing published for this version

  43. 7.0.0 20 Dec 2022

    Nothing published for this version

  44. 6.9.6 10 Jun 2023

    Nothing published for this version

  45. 6.9.5 27 Jan 2023

    Nothing published for this version

  46. 6.9.4 24 Jan 2023

    Nothing published for this version

  47. 6.9.3 03 Nov 2022

    Nothing published for this version

  48. 6.9.2 17 Oct 2022

    Nothing published for this version

  49. 6.9.1 26 Sep 2022

    Nothing published for this version

  50. 6.9.0 15 Sep 2022

    Nothing published for this version

  51. 6.8.0 20 Aug 2022

    Nothing published for this version

  52. 6.7.1 16 Aug 2022

    Nothing published for this version

  53. 6.7.0 28 Jul 2022

    Nothing published for this version

  54. 6.6.1 12 Jul 2022

    Nothing published for this version

  55. 6.6.0 07 Jul 2022

    Nothing published for this version

  56. 6.5.1 27 Jun 2022

    Nothing published for this version

  57. 6.5.0 21 Jun 2022

    Nothing published for this version

  58. 6.4.1 14 Jun 2022

    Nothing published for this version

  59. 6.4.0 08 Jun 2022

    Nothing published for this version

  60. 6.3.1 06 May 2022

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive