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

Requirements should be checked

Open AdrianB1 opened this issue 6 years ago • 2 comments

The requirements should be checked in the code; what will happen if PHP version is lower that 5.6, does the application fail gracefully? But if OpenSSL is missing or not properly working?

AdrianB1 avatar Feb 10 '19 11:02 AdrianB1

They are verified in Composer. You won't be able to install the package if PHP version is lower than 5.4 or if the OpenSSL and JSON extensions aren't installed.

owenvoke avatar Feb 11 '19 14:02 owenvoke

As @pxgamer says, the Composer is a package installer and it will automatically check composer.json to make sure dependency definitions will be correct.

I think we don't have to add some codes to check this because it seems that we don't support installing this package without Composer.

peter279k avatar Jun 06 '19 08:06 peter279k