Add rudimentary handling of PHP version constraints