Bubka / 2FAuth

A Web app to manage your Two-Factor Authentication (2FA) accounts and generate their security codes
https://docs.2fauth.app/
GNU Affero General Public License v3.0
2.28k stars 152 forks source link

Add support for PHP 8.3 #295

Closed PeopleInside closed 5 months ago

PeopleInside commented 9 months ago

Is your feature request related to a problem? Please describe.

Currently cannot install using composer if PHP is 8.3 because some component are set to support just PHP 8,2

Describe the solution you'd like

Be able to install and use the app also on PHP 8.3

Bubka commented 9 months ago

Hi, It appears this is caused by the policy followed for php version support by the maintainer of a sub-dependency of 2FAuth 😕 (see https://github.com/lcobucci/clock/issues/685). I have run all 2FAuth tests successfully following the compromise provided by the maintainer, so for now I can only suggest you to do the same if you want to use 2FAuth with php8.3 : install it with composer install --ignore-platform-req=php

PeopleInside commented 9 months ago

Oh.. ok, thanks :-)

Bubka commented 9 months ago

Please keep this issue opened, it can help people who are facing the issue and I need to follow it