This enables support for patterns where extension source code is not located in the project root, which is commonly seen in third-party extensions.
{
"name": "google/protobuf",
"type": "php-ext",
"description": "protocolbuffers php extension",
"php-ext": {
"extension-name": "protobuf",
"extension-src": "php/ext/google/protobuf"
}
}
From @zeriyoshi - original proposal in #82
Investigate options, check this makes sense and is clear. Documentation would be needed, and upstream Composer schema support.