ibnesayeed
Well-known member
While I am not worried about older versions as I tend to isolate different services in separate Docker containers which makes it very easy for me to experiment and deploy applications with different versions of required dependencies. However, I understand that many people utilize a more traditional shared hosting with limited control on resources. Would it be possible to package both the old and new versions of the library in question and conditionally load one or the other based on the version of PHP? If their API is not compatible, a custom shim might be required to make necessary methods uniform.This is unfortunate and something we attempted to avoid but it was the lesser of two evils. The feature is partly powered by a library which requires PHP 7.0 or above. They have an older version which is compatible with PHP 5.6 but the really frustrating thing is that it wasn't compatible with PHP 7.2 I think it's the right thing to do to block PHP 5.6 in this instance rather than blocking PHP 7.2.