fusionauth-php-client icon indicating copy to clipboard operation
fusionauth-php-client copied to clipboard

Missing PHP version constraint

Open glen-84 opened this issue 3 years ago • 4 comments

The composer.json file is missing a php version constraint, so it's unclear which versions of PHP are supported by this library.

Please add this information.

glen-84 avatar Apr 08 '22 16:04 glen-84

Thanks @glen-84 we'll look at doing that. For your info, it seems like versions < 8.1 work, but 8.1+ don't (at least from this community filed issue: https://github.com/FusionAuth/fusionauth-php-client/issues/26 )

mooreds avatar Apr 08 '22 21:04 mooreds

I actually need the minimum version, as we're currently stuck on an older version of PHP (7.0.x).

glen-84 avatar Apr 09 '22 07:04 glen-84

@robotdan

Do you know what the targeted PHP version is, or would we need to run something like PHPCompatibility in order to determine the minimum supported version?

glen-84 avatar Apr 24 '22 11:04 glen-84

php7 should work fine. I have used it with 7.2.5 and this blog post talks about working with 7+.

If it doesn't work with 7.0, please let us know as we'd like to support backward compatibility in this repo.

mooreds avatar Apr 26 '22 00:04 mooreds