Skip to content

v2.0.0

Latest

Choose a tag to compare

@MincDev MincDev released this 13 Jul 09:05
4b000de

Changelog

[2.0.0] - 2026-07-13

Added

  • PHPUnit test suite
  • GitHub Actions CI
  • RFC 6238 compliance tests
  • getUri() helper
  • GitHub security policy

Changed

  • Modernized for PHP 8.2+
  • Added strict types
  • Added typed and readonly properties
  • Improved exception handling
  • Updated README and examples
  • Improved QR code generation API

Fixed

  • Various code quality improvements

Breaking Changes

  • OtpAuthenticator::getQR() now returns a complete Data URI instead of only the Base64-encoded PNG.
    Existing code should change from:
  <img src="data:image/png;base64,<?= $qr ?>">

to

<img src="<?= $qr ?>">