lokalise / php-lokalise-api

Lokalise API v2 PHP library.
https://app.lokalise.com/api2docs/curl/
MIT License
16 stars 11 forks source link

Drop support for php 5.6 and 7.0 #4

Closed TheLevti closed 3 years ago

TheLevti commented 5 years ago

As php 5.6 and 7.0 are nearing end of support (see http://php.net/supported-versions.php), libraries should move on as well. This will open up all the new features given in 7.1+

Consider deprecating php 5.6 and 7.0

peter279k commented 5 years ago

It sounds good, but I'm not sure that how many developers still use the php-5.6 and php-7.0 for this package.

TheLevti commented 5 years ago

Well they can stick around with their current version. We should not be required to support outdated versions, because this might block further development. All the new language feature can not be used.

peter279k commented 5 years ago

Hi @TheLevti, you're right.

We can drop these unsupported PHP versions and release latest stable version and developers can still use current stable version to support their old PHP versions.

peter279k commented 5 years ago

Well they can stick around with their current version. We should not be required to support outdated versions, because this might block further development. All the new language feature can not be used.

If possible, could you submit PR for resolving this issue?

emsyzz commented 3 years ago

Version 4.0 have been released - it supports PHP >=7.4 and PHP 8. If you need support for PHP <7.4 you can stick with version 3.x but it will only be supported until end-of-life of PHP 7.3 (end of 2021).