firebase-tokens-php

A PHP library to work with Firebase tokens

MIT License

Downloads
22.5M
Stars
218
Committers
10

Bot releases are hidden (Show)

firebase-tokens-php - 5.2.0 Latest Release

Published by jeromegamez 2 months ago

Added support for PHP 8.4 (#61)

firebase-tokens-php - 5.1.0

Published by jeromegamez 5 months ago

  • Restored support for PHP 8.1
  • Fixed missing signature check when in non-emulated environments (#56)
firebase-tokens-php - 4.3.0

Published by jeromegamez 11 months ago

Added support for PHP 8.3

firebase-tokens-php - 5.0.1

Published by jeromegamez 11 months ago

Fixed ID Token verification when run in emulated environments.

firebase-tokens-php - 5.0.0

Published by jeromegamez 11 months ago

Added support for PHP 8.3, removed support for PHP 8.1

firebase-tokens-php - 4.2.0

Published by jeromegamez over 1 year ago

Added support for the Firebase Auth Emulator when using lcobucci/jwt 5.*

Note: The Kreait\Firebase\JWT\Token class has been renamed to \Kreait\Firebase\JWT\SecureToken. This is technically a breaking change, but since the *Verifier classes type-hint \Kreait\Firebase\JWT\Contract\Token as return values, I consider it unlikely that this should cause trouble for most people. If it does, I'll deal with the consequences.

firebase-tokens-php - 4.1.0

Published by jeromegamez over 1 year ago

Added support for lcobucci/jwt 5.*

firebase-tokens-php - 4.0.0

Published by jeromegamez almost 2 years ago

The most notable change is that you need PHP 8.1/8.2 to use the new version. The language migration to PHP 8.1 introduces potentially breaking changes concerning the strictness of parameter types - however, this should not affect your project in most cases (unless you have used internal classes directly or by extension).

Please see UPGRADE-4.0.md for detailed information.

firebase-tokens-php - 3.0.3

Published by jeromegamez about 2 years ago

Ensured (PHPStan) compatibility with lcobucci/jwt ^4.2

firebase-tokens-php - 1.17.0

Published by jeromegamez about 2 years ago

Dropped support for lcobucci/jwt 3.x

firebase-tokens-php - 1.16.3

Published by jeromegamez about 2 years ago

Ensure compatibility with lcobucci/jwt ^4.2

firebase-tokens-php - 2.3.1

Published by jeromegamez about 2 years ago

Ensure (PHPStan) compatibility with lcobucci/jwt ^4.2

firebase-tokens-php - 1.16.2

Published by jeromegamez about 2 years ago

Ensure compatibility with lcobucci/jwt ^4.2

firebase-tokens-php - 3.0.2

Published by jeromegamez over 2 years ago

Raised minimum version of Guzzle to address CVE-2022-31090 and CVE-2022-31091

firebase-tokens-php - 3.0.1

Published by jeromegamez over 2 years ago

Raise minimum version of Guzzle to address CVE-2022-31042

firebase-tokens-php - 3.0

Published by jeromegamez over 2 years ago

Implemented forward-compatible Clock-Interface

The stella-maris/clock package provides an interface based on the currently proposed status of PSR-20. Due to the inactivity of the PSR20 working group this is a way to already provide interoperability while still maintaining forward compatibility. When the current status of PSR20 will be released at one point in time the stella-maris/clock package will extend the PSR-20 interface so that this package becomes immeadiately PSR20 compatible without any further work necessary.

firebase-tokens-php - 2.3.0

Published by jeromegamez over 2 years ago

  • Removed firebase/php-jwt dev dependency and simplified test token generation.
  • Added support for verifying tokens returned from the Auth Emulator.

If you or your team rely on this project and me maintaining it, please consider becoming a Sponsor 🙏

firebase-tokens-php - 2.2.0

Published by jeromegamez over 2 years ago

Added tenant support to Session Cookie Verification. It doesn't seem to be supported at the moment (executing it with a tenant-enabled Firebase project yields an UNSUPPORTED_TENANT_OPERATION) error, but once it is supported, this library will need no or just minimal updates.

The Firebase Admin SDK for PHP has integration tests checking for this error so that we know early on when it starts working.

firebase-tokens-php - 2.1.1

Published by jeromegamez over 2 years ago

Fixed method name Kreait\Firebase\JWT\SessionCookieVerifier::sessionCookieWithLeeway to Kreait\Firebase\JWT\SessionCookieVerifier::verifySessionCookieWithLeeway 🤦‍. This is technically a breaking change, but since 2.1.0 was released just a few minutes ago, it was most certainly not used yet.

firebase-tokens-php - 2.1.0

Published by jeromegamez over 2 years ago

Added Kreait\Firebase\JWT\SessionCookieVerifier that works similarly as the existing ID Token verifier.
You can find its documentation in the README.