Skip to content

Feature Request: Add PIE (PHP Installer for Extensions) support #94

Description

@yydick

背景

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 格式

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions