I'm not sure why a composer.json file is needed for compiling PHP extensions written in pure C or C++.
I see what the composer.json code part does (get the needed PHP version), but that makes not much sense, because composer is (generally) not part of a C toolchain.
Normally you have config.w32 files as only config files.
I'm not sure why a
composer.json
file is needed for compiling PHP extensions written in pure C or C++.I see what the
composer.json
code part does (get the needed PHP version), but that makes not much sense, because composer is (generally) not part of a C toolchain.Normally you have config.w32 files as only config files.
https://github.com/DanielRuf/php-spx/actions/runs/10759187217/job/29835547179