Releases: MincDev/php-otpauth
Releases · MincDev/php-otpauth
Release list
v2.0.0
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 ?>">