thephpleague / oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server
https://oauth2.thephpleague.com
MIT License
6.51k stars 1.12k forks source link

PHP version requirement (readme) #1270

Closed reindert-vetter closed 2 years ago

reindert-vetter commented 2 years ago

It is unclear which PHP versions are supported.

https://oauth2.thephpleague.com/requirements/:

The following versions of PHP are supported: PHP 7.2 PHP 7.3 PHP 7.4

https://github.com/thephpleague/oauth2-server/blob/master/README.md:

The latest version of this package supports the following versions of PHP: PHP 7.2 PHP 7.3 PHP 7.4 PHP 8.0

https://github.com/thephpleague/oauth2-server/blob/master/composer.json:

"require": { "php": "^7.2 || ^8.0",

I assume we support both PHP 8.0 and 8.1. Maybe it would be a good idea to update that.

Sephster commented 2 years ago

Thanks for this @reindert-vetter. I think we need to update the docs to list PHP 8.0. At this time, I believe PHP 8.1 works but haven't completed my testing of this yet. I plan on getting a new major out in the not too distant future which will have official support for 8.1. Thank you for the PR.