网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

mac下thinkphp5.0单元测试如何安装扩展-创新互联

安装扩展

首先安装ThinkPHP5的单元测试扩展,进入命令行,切换到应用根目录下面后,执行:

composer require topthink/think-testing

在镇康等地区,都构建了全面的区域性战略布局,加强发展的系统性、市场前瞻性、产品创新能力,以专注、极致的服务理念,为客户提供网站设计、成都做网站 网站设计制作定制设计,公司网站建设,企业网站建设,品牌网站设计,全网营销推广,外贸网站建设,镇康网站建设费用合理。

如果没安装composer就会报错。看下面:

===

以下都要×××,不然连接不上,下面就有几行是因为没连上报的错。

  1. 首先要安装composer

  2. php -r "readfile('https://getcomposer.org/installer');" | php

  3.chmod +x composer

4.再进行下一步。

macdeMacBook-Pro:tp5 mac$composer require topthink/think-testing
Using version ^1.0 for topthink/think-testing
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Failed to decode response: zlib_decode(): data error
Retrying with degraded mode, check https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode for more info
Package operations: 27 installs, 0 updates, 0 removals
 - Installing topthink/think-installer (v1.0.11): Downloading (100%)
 - Installing topthink/framework (v5.0.7): Downloading (100%)
 - Installing symfony/polyfill-mbstring (v1.3.0): Downloading (35%)
Downloading (100%)
 - Installing symfony/dom-crawler (v2.8.18): Downloading (100%)
 - Installing symfony/yaml (v3.2.5): Downloading (100%)
 - Installing sebastian/version (1.0.6): Downloading (100%)
 - Installing sebastian/global-state (1.1.1): Downloading (failed)
Downloading (100%)
 - Installing sebastian/recursion-context (1.0.5): Downloading (100%)
 - Installing sebastian/exporter (1.2.2): Downloading (failed)
Downloading (100%)
 - Installing sebastian/environment (1.3.8): Downloading (100%)
 - Installing sebastian/diff (1.4.1): Downloading (100%)
 - Installing sebastian/comparator (1.2.4): Downloading (100%)
 - Installing doctrine/instantiator (1.0.5): Downloading (100%)
 - Installing phpunit/php-text-template (1.2.1): Downloading (100%)
 - Installing phpunit/phpunit-mock-objects (2.3.8): Downloading (95%)
Downloading (100%)
 - Installing phpunit/php-timer (1.0.9): Downloading (100%)
 - Installing phpunit/php-file-iterator (1.4.2): Downloading (100%)
 - Installing phpunit/php-token-stream (1.4.11): Downloading (100%)
 - Installing phpunit/php-code-coverage (2.2.4): Downloading (100%)
 - Installing webmozart/assert (1.2.0): Downloading (100%)
 - Installing phpdocumentor/reflection-common (1.0): Downloading (100%)
 - Installing phpdocumentor/type-resolver (0.2.1): Downloading (100%)
 - Installing phpdocumentor/reflection-docblock (3.1.1): Downloading (100%)
 - Installing phpspec/prophecy (v1.7.0): Downloading (100%)
 - Installing phpunit/phpunit (4.8.35): Downloading (100%)
 - Installing topthink/think-helper (v1.0.5): Downloading (100%)
 - Installing topthink/think-testing (v1.0.6): Downloading (100%)
   Invalid zip file, retrying...
 - Installing topthink/think-testing (v1.0.6): Downloading (100%)
symfony/dom-crawler suggests installing symfony/css-selector ()
symfony/yaml suggests installing symfony/console (For validating YAML files using the lint command)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files

macdeMacBook-Pro:tp5 mac$

另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


名称栏目:mac下thinkphp5.0单元测试如何安装扩展-创新互联
本文地址:http://bjjierui.cn/article/jossd.html

其他资讯