php-zip icon indicating copy to clipboard operation
php-zip copied to clipboard

Support for PHP 7.x

Open bobdenotter opened this issue 4 years ago • 6 comments

Q A
Library version(s) affected: 4.0.0
PHP version(s): 7.2 and up

Hi,

After the bump to 4.x, there's a hard cutoff for older versions. In our project, we're sticking with Symfony's version support, which means we're supporting PHP 7.2.9 and up. Currently, there's no version of this library that supports both 7.x and 8.x simultaneaously, which means we can't provide a single working setup for our users on different versions of PHP.

Would you consider reverting the dropping of PHP 7.x?

bobdenotter avatar Mar 27 '21 11:03 bobdenotter

Hello.

The main API is almost identical, except for deleting deprecated functional.

Try to specify the version ^3.3 | ^4.0

Ne-Lexa avatar Mar 27 '21 11:03 Ne-Lexa

@Ne-Lexa Hi, thanks for the reply.

I know about the |, but for our use case that doesn't work. Our packaged version needs to be able to resolve the dependencies to one version for the lowest supported version, but that needs to work on the highest supported version.

So, in this case, it'll resolve to 3.3.x, but it'll break for people running on PHP 8.

bobdenotter avatar Mar 29 '21 14:03 bobdenotter

Hi @Ne-Lexa, indeed like mentioned above it does help a lot of there is one version of the library that supports both 7.x and 8.x. Can we do something to allow you @Ne-Lexa to tag such a release?

Thanks a lot in advance!

I-Valchev avatar May 14 '21 13:05 I-Valchev

Hi,

Not trying to be too insistent, but is there any progress on this? Anything we can do from our end to move it along? :-)

bobdenotter avatar Jun 15 '21 10:06 bobdenotter