Is anyone able to explain why, in composer.json files, people put PHP both in the "require" : {} section as well as the "config" : { "platform" : { } } section?
From composer's documentation: "Composer has platform packages, which are virtual packages for things that are installed on the system but are not actually installable by Composer. This includes PHP itself, PHP extensions and some system libraries."
This verbiage, would imply that putting PHP inside the "require" section, does not cause composer to install anything. So why add it? I must be missing something as many projects seem …
From composer's documentation: "Composer has platform packages, which are virtual packages for things that are installed on the system but are not actually installable by Composer. This includes PHP itself, PHP extensions and some system libraries."
This verbiage, would imply that putting PHP inside the "require" section, does not cause composer to install anything. So why add it? I must be missing something as many projects seem …