Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有没有考虑加入php官方的pecl/pear库中 #153

Open
systoms opened this issue Jan 16, 2023 · 4 comments
Open

有没有考虑加入php官方的pecl/pear库中 #153

systoms opened this issue Jan 16, 2023 · 4 comments
Labels
good first issue Good for newcomers

Comments

@systoms
Copy link

systoms commented Jan 16, 2023

No description provided.

@systoms systoms added the discussion Discuss things in this issue label Jan 16, 2023
@twose
Copy link
Member

twose commented Jan 16, 2023

暂无,可以看这里解释的原因:构建系统能力

之前在 PHP 开发组里问过,PECL 这个网站甚至都不知道是谁在维护(可能除非它挂掉了,否则根本没人关心),只是维持在能跑的状态而已。想要申请加入新的扩展还要发邮件,但是一直没人处理。要么就是在 PHP 的内部邮件列表发个邮件问一下谁还管这个东西,但懒得发了。而且网站本身还动不动被墙。每次发布还要多维护一个路径。

Swow 可以通过 Composer 拉取,并且内置了和 PECL 相同功能的安装器。

暂时没有看到有什么使用 PECL 的理由,如果有的话,那就是 remi 源会基于 PECL 的扩展列表去维护 PHP 扩展相关的东西,这个后面是值得考虑的点。

@twose twose added good first issue Good for newcomers and removed discussion Discuss things in this issue labels Jan 16, 2023
@huangdijia
Copy link

huangdijia commented Jan 31, 2023

搭建一个 pecl channel ?

pecl channel-add pecl.swow.net # example
pecl channel-update swow
pecl install swow

@yangweijie
Copy link

 pecl.swow.net

内置安装器 win上装不了,用了php-static-cli 的php8.2 想外部引用swow的,结果构建的php是vs17 你们提供下载的扩展是vs16。

@dixyes
Copy link
Member

dixyes commented Jun 1, 2024

 pecl.swow.net

内置安装器 win上装不了,用了php-static-cli 的php8.2 想外部引用swow的,结果构建的php是vs17 你们提供下载的扩展是vs16。

我猜你说的 内置安装器 指builder,它不支持windows的原因是 windows下构建php扩展需要装一坨东西,很难保证用户有并且会装(相较而言linux、mac上包管理就很方便)

我们现在ci里构建的dll只支持php官方发布的windows php二进制,别的地方或许能用,但不保证

如果你在使用spc,spc支持swow,你可以带swow构建静态cli,详情查看spc说明

如果你在找现成的一个文件的php.exe带swow你也可以用 bin.dixyes.cn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

5 participants