【文件属性】:
文件名称:php-psr:提供可接受的PSR接口PHP扩展
文件大小:219KB
文件格式:ZIP
更新时间:2021-01-30 12:44:35
c php php-extension php-fig psr
PHP的PSR
此PHP扩展提供了由组建立的标准的接口。 您可以在另一个扩展中轻松使用此扩展提供的接口-请参见此。
介面
PSR
参考
经过测试
,
,
安装
Linux / macOS
必备软件包是:
PHP开发标头和工具
gcc > = 4.4 | clang > = 3.x | vc > = 11
GNU make > = 3.81
automake
autoconf
您将需要PHP开发标头。 如果手动安装了PHP,则默认情况下应可用。 否则,您将需要从存储库中获取它们。
git clone https://github.com/jbboehr/php-psr.git
cd php-psr
phpize
./configure
make
make test
sudo make install
如果您正在运行特定PHP版本:
git clone https://github.com/jbboehr/php-psr.git
cd php-psr
/usr/local/bin/phpize
./configure --with-php-config=/us