multiOTP / multiotp

multiOTP open source strong two factor authentication PHP library, OATH certified, with TOTP, HOTP, Mobile-OTP, YubiKey, SMS, QRcode provisioning, etc.
http://www.multiOTP.net/
GNU Lesser General Public License v3.0
358 stars 76 forks source link

PHP 8.x Support #153

Closed joeyberkovitz closed 1 year ago

joeyberkovitz commented 1 year ago

Per #123, PHP 8.1 should be supported, although using PHP 8.1.13 triggers at least one deprecation warning: Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/multiotp.server.php on line 22135

PHP 8.2 triggers many more warnings

multiOTP commented 1 year ago

Hello joeyberkovitz, PHP 8.1 is supported (and currently it works with warnings, you are right). We have planned to adapt/remove the PHP 8.1 deprecated implementation for the next release in a few weeks. PHP 8.2 includes more deprecated implementations and will be reviewed too. Regards,

joeyberkovitz commented 1 year ago

thanks for the info

multiOTP commented 1 year ago

Hello, The last release 5.9.5.5 is now fully compatbile with PHP 8.x Regards,