1, composer Profile
composer is a PHP tool for managing dependence (dependency) relationships, toolkits Address: https://packagist.org/
2, installation
Official website to download, direct installation, note the following:
3, modify the Chinese Mirror
composer config -g repo.packagist composer https://packagist.phpcomposer.com
4, the basic use
1, created under the specified folder composer.json, fill in the relevant configuration code
2, execution composer install the command line
3, create a php script, and to introduce autoload.php vendor folder
4, view the document
https: / /www.phpcomposer.com/
https://docs.phpcomposer.com/
把默认的 secure-http 改成false:
composer config -g secure-http false
composer config secure-http false