There is possible to set Composer for require
block to check if some PHP extension is installed with something like OR
operator?
For example:
I prepare some package for image manipulation based on PHP, it's works with GD or Imagick library.
How to prepare composer.json file to require at least one PHP image extension?