F
F
ff0xff2018-11-30 14:42:20
Composer
ff0xff, 2018-11-30 14:42:20

How to add standard method requirements to composer.json?

Good day, I want my project to
check for php support when executing the composer install command:
1) curl_multi_init
2) json_decode
What do I need to add to composer.json for this

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Petrov, 2018-11-30
@sergoslav_0

"require": {
        "ext-curl": "*",
        "ext-json": "*"
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question