thinkphp
thinkphp copied to clipboard
composer create-project topthink/thinkphp projectname 方式创建项目异常
Loading composer repositories with package information [Composer\Downloader\TransportException] Your configuration does not allow connections to http://packagist.phpcomposer.com/packages.json. See https://getcomposer.org/doc/06-config.md#secure-http for details.
需要将 composer.json 中的以下 url 由http改为https "repositories": [ {"type": "composer", "url": "http://packagist.phpcomposer.com"}, {"packagist": false} ]