猿问

为什么作为官方的扩展仓库,Pear只有602个包?

Pear(PHP Extension and Application Repository), 作为PHP开发者,我工作大半年后才知道这个东西...不知道是我太菜,还是真的是推广的不行,还是确实不好用...

按理下面的体验方式应该很棒啊(或者说很多扩展都需要另外配置configure参数?)

pecl info redis
pecl install redis
pecl unisntall redis

我之前长期都是到github找扩展源码仓库,clone下来,phpize,configure(可能部分需要配置参数),make,make install(可选)...

按理说应该远不止602个包,难道是审核比较严格吗?我搜索了下流行的swoolePhalcon貌似都找不到。(Pecl是有swoole的)。

大家知道是什么原因吗?

===== 补充下 =====

之前问的有点问题,应该是Pecl(301)和Pear(602),难兄难弟,Pear可能是被Composer抢占市场了。Pecl可能写的人太少了吧。

PECL stands for PHP Extension Community Library, it has extensions written in C, that can be loaded into PHP to provide additional functionality. You need to have administrator rights, a C compiler and associated toolchain to install those extensions.

PEAR is PHP Extension and Application Repository, it has libraries and code written IN php. Those you can simply download, install and include in your code.

红颜莎娜
浏览 379回答 1
1回答

阿波罗的战车

swoole有的呀!pecl install swoole 就可以的!
随时随地看视频慕课网APP
我要回答