欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Composer
来自开放百科 - 灰狐
(版本间的差异)
小 (→安装) |
小 |
||
第1行: | 第1行: | ||
{{SeeWikipedia|Composer (software)}} | {{SeeWikipedia|Composer (software)}} | ||
− | + | [[文件:composer-logo.jpeg|right|Composer]] | |
− | == | + | Composer |
+ | |||
+ | ==简介== | ||
+ | Composer 是 [[PHP]] 软件包管理系统,MIT 许可协议。 | ||
+ | |||
+ | ==功能== | ||
+ | |||
+ | ==指南== | ||
[https://getcomposer.org/download/ 下载 Composer] | [https://getcomposer.org/download/ 下载 Composer] | ||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | ||
第23行: | 第30行: | ||
回滚 | 回滚 | ||
composer self-update --rollback | composer self-update --rollback | ||
+ | |||
+ | ==项目== | ||
+ | |||
+ | ==文档== | ||
+ | |||
+ | ==图集== | ||
==链接== | ==链接== | ||
第29行: | 第42行: | ||
[[category:package]] | [[category:package]] | ||
+ | [[category:symfony]] | ||
[[category:PHP]] | [[category:PHP]] |
2022年3月24日 (四) 03:13的版本
您可以在Wikipedia上了解到此条目的英文信息 Composer Thanks, Wikipedia. |
Composer
目录 |
简介
Composer 是 PHP 软件包管理系统,MIT 许可协议。
功能
指南
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') === '572cb359b56ad9ae52f9c23d29d4b19a040af10d6635642e646a7caa7b96de717ce683bd797a92ce99e5929cc51e7d5f') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');"
创建 composer.json
{ "require": { "monolog/monolog": ">=1.0.0" } }
mv composer.phar /usr/local/bin/composer
运行 Composer
composer install
更新 Composer
composer self-update
回滚
composer self-update --rollback
项目
文档
图集
链接
分享您的观点