Hi all! It occurs to me that the requirements for PECL extensions are not well documented (and even not well specified in the first place).
The "Publishing in PECL" guide[1] merely mentions a few suggestions, mostly regarding the license. However, aren't there more requirements (or dos and don'ts) regarding PECL extensions, e.g. * Is there any need to support all platforms? Probably not, since there are Windows specific extension (e.g. win32service), and a lot of extensions which won't run on Windows at all. * Is there any need to support NTS as well as ZTS builds? I wouldn't think that was a good idea, since there are packages which inherently require ZTS builds (e.g. parallel). * What build requirements (e.g. C compiler) have to be met? The same as those for php-src? * Is it allowed to require Rust/Cargo support? This issue is currently discussed in another thread on this ML[2], but this appears to be a more general issue, so should better be discussed in a general thread. And this list probably needs to be extended. These requirements should probably be coordinated with the new PIE installer[3] (which is currently under development) to avoid users trying to download and install PECL extensions which are not suitable for them, but even if PIE already caters to this, it appears to be important to also clearly document what is and what is not allowed for users installing manually. Any thoughts about this? [1] <https://pecl.php.net/account-request.php> [2] <https://news-web.php.net/php.pecl.dev/17601> [3] <https://github.com/php/pie> Cheers, Christoph