欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程语言 > php >内容正文

php

PHP的composer的快速源

发布时间:2024/9/19 php 51 豆豆
生活随笔 收集整理的这篇文章主要介绍了 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的快速源的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。