PHP的composer的快速源
生活随笔
收集整理的这篇文章主要介绍了
PHP的composer的快速源
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
验证很快的composer源
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer"url": "https://mirrors.aliyun.com/composer/"
{"name": "topthink/think","description": "the new thinkphp framework","type": "project","keywords": ["framework","thinkphp","ORM"],"homepage": "http://thinkphp.cn/","license": "Apache-2.0","authors": [{"name": "liu21st","email": "liu21st@gmail.com"},{"name": "yunwuxin","email": "448901948@qq.com"}],"require": {"php": ">=7.1.0","topthink/framework": "^6.0.0"},"require-dev": {"symfony/var-dumper": "^4.2","topthink/think-trace":"^1.0"},"autoload": {"psr-4": {"app\\": "app"},"psr-0": {"": "extend/"}},"config": {"preferred-install": "dist"},"repositories": {"packagist": {"type": "composer","url": "https://mirrors.aliyun.com/composer/"}},"scripts": {"post-autoload-dump": ["@php think service:discover","@php think vendor:publish"]} }
总结
以上是生活随笔为你收集整理的PHP的composer的快速源的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: PHP的函数file_get_conte
- 下一篇: PHP的getimagesize获取图像