Releases: Vectorface/GoogleAuthenticator
Releases · Vectorface/GoogleAuthenticator
v3.4
v3.3: PHP 8.4 support
What's Changed
- fix missing issuer for QR codes generated by getQRCodeUrl method (optional) by @Rodots in #7
- Cleanup, PHP 8.4 support by @francislavoie in 5efaef7 (closing #8)
New Contributors
Full Changelog: v3.2...v3.3
v3.2: Better Parameter Support
- Added a URI builder method to support currently known otpauth URI parameters
- Internal re-factoring required to prevent code duplication in the new URI builder
- Changes are backwards compatible
New URI builder usage:
$uriBuilder = (new \Vectorface\GoogleAuthenticator())
->getUriBuilder()
->secret("AABBCCDDEEFF")
->account("John Doe")
->issuer("Acme Corp.");
// __toString() allows using the URI builder in strings
$uri = "$uriBuilder";
// or
$uri = $uriBuilder->getUri();
// $uri in both cases is:
// "otpauth://totp/Acme%20Corp.:%20John%20Doe?secret=AABBCCDDEEFF&issuer=Acme%20Corp."Supports secret, account, issuer, type ("totp" or "hotp"), algorithm ("SHA1" (default), "SHA256", or "SHA512"), digits (6 or 8), counter (HOTP only), and period (TOTP only) parameters.
v3.1
v3.0
- Bump minimum PHP version to v7.3
- Update
endroid/qr-codeto v4.0.0 - Update
phpunitto v9 - Add support for PHP 8.0
v2.0
- Bump minimum PHP version to v7.2
- Update
endroid/qr-codeto v3.9.3 - Update
phpunitto v8 - Drop TravisCI
- Add GitHub Actions testing
- Add parameter and return types
Hello World!
First release of this fork!