I think it would be interesting to specify in the required elements of the composer.json file the libraries needed for the extension. Like extension, the prefix lib- can be used.
These dependencies would allow us to check for security vulnerabilities and during compilation, retrieve the source code or binary/SDK automatically.
Exemple:
{
"name": "php/imap",
"type": "php-ext",
"require": {
"php": ">=8.0",
"lib-c-client": "2007f",
"lib-openssl": ">=3.0.8"
},
"php-ext": {
"extension-name": "imap"
}
}
For openssl the tag used are openssl-3.0.8 or openssl-3.0.15.pl1 or newer.
I think it would be interesting to specify in the required elements of the
composer.jsonfile the libraries needed for the extension. Like extension, the prefixlib-can be used.These dependencies would allow us to check for security vulnerabilities and during compilation, retrieve the source code or binary/SDK automatically.
Exemple:
{ "name": "php/imap", "type": "php-ext", "require": { "php": ">=8.0", "lib-c-client": "2007f", "lib-openssl": ">=3.0.8" }, "php-ext": { "extension-name": "imap" } }For
opensslthe tag used areopenssl-3.0.8oropenssl-3.0.15.pl1or newer.