okta / okta-sdk-php

PHP SDK for the Okta API
Apache License 2.0
38 stars 71 forks source link

Support for PHP >5.5 && <7.0 #50

Closed mark-schaal closed 6 years ago

mark-schaal commented 6 years ago

Really appreciate the work done on this project to date, but the majority of clients I see needing such a solution (e.g. MFA) are typically in older systems which cannot yet support PHP 7.0 (E.g. public sector clients using Drupal/Wordpress/etc). It would be nice to see some backward compatibility for anything greater than PHP 5.5. Unfortunately, I cannot contribute this effort at this time, but in the future I'd love to help grow the project.

Cheers, Mark

bretterer commented 6 years ago

@mark-schaal Thanks for the info here. The reason we chose not to support PHP <7.0 is because all of these are EOL, with the exception of PHP5.6 which is going EOL at the end of the year and is only in security updates at this point. There are features within the SDK that we chose to use that are only available in PHP7.0, such as return types. This not only helps with internal development, but also helps the users of the library to be able to have better support in their IDE's. However, the main reason behind this is we want to keep your security in mind. By requiring only supported and new versions of PHP, we are making sure that the code will perform in a very secure way, with the newest standards in place. For all of our PHP libraries, we will follow closely with the supported versions listed at https://secure.php.net/supported-versions.php. When we increase the minimum version of PHP for our libraries, this will be done as a minor release version, so you will always be able to use older versions, but until you upgrade your PHP version, you will not be able to upgrade the packages.

Thanks! -Brian