thinkphp icon indicating copy to clipboard operation
thinkphp copied to clipboard

composer create-project topthink/thinkphp projectname 方式创建项目异常

Open fjarcticfox opened this issue 9 years ago • 1 comments

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.

fjarcticfox avatar Jun 13 '16 08:06 fjarcticfox

需要将 composer.json 中的以下 url 由http改为https "repositories": [ {"type": "composer", "url": "http://packagist.phpcomposer.com"}, {"packagist": false} ]

fjarcticfox avatar Jun 13 '16 08:06 fjarcticfox