0

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?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.