背景
PHP 官方推出了新一代扩展安装器 PIE(PHP Installer for Extensions),目标是替代传统的 pecl install。PIE 与 Composer 生态完全打通,用户可以通过以下命令一键安装扩展:
pie install vendor/package
问题
目前 PIE 已经发展到 1.4.x 版本,越来越多的扩展开始适配(如 apcu/apcu、redis/redis、xdebug/xdebug 等)。而且swoole/swoole也已经适配了PIE。
$ pie info swoole/phpy
Could not install package: swoole/phpy
Package swoole/phpy was not of type php-ext or php-ext-zend (requested swoole/phpy).
原因是 phpy 尚未在 Packagist 上注册,也没有声明 type: "php-ext"。
建议
希望 phpy 能适配 PIE 格式
背景
PHP 官方推出了新一代扩展安装器 PIE(PHP Installer for Extensions),目标是替代传统的
pecl install。PIE 与 Composer 生态完全打通,用户可以通过以下命令一键安装扩展:问题
目前 PIE 已经发展到 1.4.x 版本,越来越多的扩展开始适配(如 apcu/apcu、redis/redis、xdebug/xdebug 等)。而且swoole/swoole也已经适配了PIE。
原因是 phpy 尚未在 Packagist 上注册,也没有声明 type: "php-ext"。
建议
希望 phpy 能适配 PIE 格式