PHP的composer的快速源
生活随笔
收集整理的這篇文章主要介紹了
PHP的composer的快速源
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
驗(yàn)證很快的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"]} }?
總結(jié)
以上是生活随笔為你收集整理的PHP的composer的快速源的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: PHP的函数file_get_conte
- 下一篇: 把右前轮顶起来,副驾右门开关有点不正常?