PHP常识

一,composer

1.1 镜像启用方法

composer config -g repo.packagist composer https://packagist.phpcomposer.com

1.2 composer命令查询

1.2.1 composer

1.2.2 composer list

1.2.3 依赖文件自动加载

require __DIR__ . '/vendor/autoload.php';

资料:https://pkg.phpcomposer.com/

评论0条