自己制作包 https://packagist.org/packages/logoove/
composer下载

https://getcomposer.org/Composer-Setup.exe
composer -V 版本查看
composer self-update composer升级
composer config -g repo.packagist composer https://packagist.phpcomposer.com 配置到国内全局
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 阿里云
composer config -g --unset repos.packagist 取消
composer config -g repo.packagist composer https://packagist.org  国外
composer install 安装
composer update 更新
composer show 列出所有包

安装/更新 新项目

composer create-project topthink/think tp6
composer update topthink/framework

安装/更新/卸载依赖库

composer requirefzaninotto/faker
composer update fzaninotto/faker
composer remove fzaninotto/faker
作者:Yoby  创建时间:2020-07-23 20:07
 更新时间:2024-12-05 13:26
上一篇:
下一篇: