您现在的位置是: 首页 > PHP PHP
composer操作指南
冬寂 2020-08-07 13:35:44 【PHP】 1704人已围观
composer
自己制作包 https://packagist.org/packages/logoove/
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
上一篇: 排序算法
下一篇: PHP对金钱进行处理