kreait/firebase-php
Unofficial Firebase Admin SDK for PHP. Manage authentication, users, custom tokens, and verify ID tokens; send Cloud Messaging notifications; work with Realtime Database, Cloud Storage, and Remote Config. Built on Google APIs with Laravel-friendly support.
verifyTokenWithReplayProtection().
The response now includes alreadyConsumed when replay protection is used.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.Kreait\Firebase\Exception\AppCheck\FailedToVerifyAppCheckReplayProtection
for replay-protection verification failures. It extends
Kreait\Firebase\Exception\AppCheck\FailedToVerifyAppCheckToken for backwards compatibility.firebase/php-jwt:^7.0.2#[SensitiveParameter] attributes to methods handling sensitive data (passwords, tokens, private keys)
to prevent them from appearing in stack traces and error logs.Stringable|string to string).Kreait\Firebase\Contract\Transitional\FederatedUserFetcher::getUserByProviderUid() method
has been moved into the Kreait\Firebase\Contract\Auth interfacepsr/log has been moved from runtime dependencies to development dependenciesKreait\Firebase\Contract\Messaging::BATCH_MESSAGE_LIMIT constant has been removedKreait\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.
How can I help you explore Laravel packages today?