zoukankan      html  css  js  c++  java
  • windows安装composer

    下载安装 https://getcomposer.org/Composer-Setup.exe   我安装到了c:/composer,没有设置环境变量。

    设置环境变量:C:UsersLenovoAppDataRoamingComposervendorin;D:phpStudyphp70n    如果是安装版,安装完成后已经设置好环境变量。再加上php.exe的路径以后就可以在任何目录下使用  composer命令,

    以下检测是否安装成功,如果设置了环境变量 可以直接。

    cmd 里执行安装easywechat:  e:php hinkcmf-master hinkcmf5simplewindvendorovertruewechat>d:phpStudyphp55php c:/composer/composer.phar install

     提示如下错误:貌似是版本错误。

    切换成php 7.0n后  再运行 

    e:php hinkcmf-master hinkcmf5simplewindvendorovertruewechat>d:phpStudyphp70nphp c:/composer/composer.phar install

    结果

    原因 没有开启 extension=php_openssl.dll  php.ini

    参见:http://www.zhimengzhe.com/php/151471.html  

     开启后 再执行

    显示如下:

    View Code

    结果全部安装到了E:php hinkcmf-master hinkcmf5simplewindvendorovertruewechatvendor。

    怎么能安装到sinmplewind的vendor目录里呢。自动安装到这里才对。

    又看了一遍安装教程,搜索composer怎么在已有的情况下安装插件 无果。

    后来在 https://github.com/overtrue/wechat  里看到 

    我想用3.0,4.0需要php7以上才行,不管什么是dev-master了,直接在simplewind目录试试。

    E:>cd php/thinkcmf-master/thinkcmf5/simplewind/

    E:php hinkcmf-master hinkcmf5simplewind>composer require "overtrue/wechat:~3.0" -vvv
    No composer.json in current directory, do you want to use the one at E:php hinkcmf-master hinkcmf5? [Y,n]? y

    没有json文件 ,问是否使用thinkcmf5项目的composer.json。靠,原来thinkcmf5也是有composer.json的,以前一直忽略了这个,总想着安装easywechat所需的组件。

    到这里了就直接执行一下,输入y 回车,以下是执行结果:

    Reading ./composer.json
    Loading config file ./composer.json
    Checked CA file C:UsersLenovoAppDataLocalTempcomposer-cacert-e78c8ab7b4432bd466e64bb942d988f6c0ac91cd785017e465bdc96d42fe9dd0.pem: valid
    Executing command (E:php	hinkcmf-master	hinkcmf5): git branch --no-color --no-abbrev -v
    Executing command (E:php	hinkcmf-master	hinkcmf5): git describe --exact-match --tags
    Executing command (E:php	hinkcmf-master	hinkcmf5): git log --pretty="%H" -n1 HEAD
    Executing command (E:php	hinkcmf-master	hinkcmf5): hg branch
    Executing command (E:php	hinkcmf-master	hinkcmf5): fossil branch list
    Executing command (E:php	hinkcmf-master	hinkcmf5): fossil tag list
    Executing command (E:php	hinkcmf-master	hinkcmf5): svn info --xml
    Failed to initialize global composer: Composer could not find the config file: C:/Users/Lenovo/AppData/Roaming/Composer/composer.json
    To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
    Reading E:php	hinkcmf-master	hinkcmf5/simplewind/vendor/composer/installed.json
    Running 1.5.2 (2017-09-11 16:59:25) with PHP 5.5.30 on Windows NT / 10.0
    ./composer.json has been updated
    Reading ./composer.json
    Loading config file ./composer.json
    Executing command (E:php	hinkcmf-master	hinkcmf5): git branch --no-color --no-abbrev -v
    Executing command (E:php	hinkcmf-master	hinkcmf5): git describe --exact-match --tags
    Executing command (E:php	hinkcmf-master	hinkcmf5): git log --pretty="%H" -n1 HEAD
    Executing command (E:php	hinkcmf-master	hinkcmf5): hg branch
    Executing command (E:php	hinkcmf-master	hinkcmf5): fossil branch list
    Executing command (E:php	hinkcmf-master	hinkcmf5): fossil tag list
    Executing command (E:php	hinkcmf-master	hinkcmf5): svn info --xml
    Failed to initialize global composer: Composer could not find the config file: C:/Users/Lenovo/AppData/Roaming/Composer/composer.json
    To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
    Reading E:php	hinkcmf-master	hinkcmf5/simplewind/vendor/composer/installed.json
    Loading composer repositories with package information
    Downloading https://packagist.org/packages.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/packages.json into cache
    Updating dependencies (including require-dev)
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/p-provider-2013.json from cache
    Downloading http://packagist.org/p/provider-2014%24f4bbfa6e60a38fa93f47196f2548406c684ac66590883cc2fddbaea2623fdffb.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/p-provider-2014.json into cache
    Downloading http://packagist.org/p/provider-2015%24e6eacfcec5f74c93c9758186785003293d80e46db67642f5ac2b0fc7e2e1a02d.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/p-provider-2015.json into cache
    Downloading http://packagist.org/p/provider-2016%24f31f8a35092e50026d9ca799207099530eec531e2edf0ad9236e8a3ebcaf31de.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/p-provider-2016.json into cache
    Downloading http://packagist.org/p/provider-2016-10%248dd1c22035958c59a75cf5f3e76d42eb68d3b603da14224a62bdfe090ed86ffb.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/p-provider-2016-10.json into cache
    Downloading http://packagist.org/p/provider-2017-01%242c9178426b9349a9bb1162f6ea9a89c5142c7c6d2ab9357177764c50e0d0279f.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/p-provider-2017-01.json into cache
    Downloading http://packagist.org/p/provider-2017-04%24a1852658acb358c10151534a9f43dbb8cf69482b43b0a3eaba63b6f6333a5df5.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/p-provider-2017-04.json into cache
    Downloading http://packagist.org/p/provider-2017-07%245b32e887b91fd116307fabb3e5c13bb72c2572be08c86a07c5d33eba6e046997.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/p-provider-2017-07.json into cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/p-provider-archived.json from cache
    Downloading http://packagist.org/p/provider-latest%24fabc1e1ca17094b659b13873370190366a70ca74bd0c96f7d26ca3a5cea9299c.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/p-provider-latest.json into cache
    Downloading http://packagist.org/p/topthink/think-helper%24f06d9d5a4441e1bfeb6c62478ed9cecbf4a8ecaa68d27853b0b2da6494c6baea.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-topthink$think-helper.json into cache
    Downloading http://packagist.org/p/mindplay/annotations%24b94af97455fd7335c988a4f7906f56bbf3610d148a0c10538b511fba9e13cd3d.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-mindplay$annotations.json into cache
    Downloading http://packagist.org/p/topthink/think-captcha%24df4136d8581fa2a97c3baf0f0bd3b0b6ca6b91db268332254e234dfab7306478.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-topthink$think-captcha.json into cache
    Downloading http://packagist.org/p/phpmailer/phpmailer%243c8d262ad9e3e3bc4760e802d21a585cc506c821390e6fddf773adf063c754f5.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-phpmailer$phpmailer.json into cache
    Downloading http://packagist.org/p/topthink/think-image%24966eb0c420152fa22d73f3609119312556c97f818c2da7d4e8f312a9219336c3.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-topthink$think-image.json into cache
    Downloading http://packagist.org/p/qiniu/php-sdk%2460305b8976bbba3fb3f6418f771545dddb174dabe375ee26d3decc7367f9d8f8.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-qiniu$php-sdk.json into cache
    Downloading http://packagist.org/p/sabberworm/php-css-parser%240db2e4546d60c61969ffc0afb6ecaaf051c0f5990d5fa7d32ef1050faa0f866d.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-sabberworm$php-css-parser.json into cache
    Downloading http://packagist.org/p/phenx/php-svg-lib%242d8fdf10b117a6d9069a077eec43771ecbd8e1c6975ca72bc524781189dad3a3.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-phenx$php-svg-lib.json into cache
    Downloading http://packagist.org/p/phenx/php-font-lib%24fb4a6e84fc87dbebd6e33f43c9b41cf12dddbc44fe647143e7363ed610dee2ae.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-phenx$php-font-lib.json into cache
    Downloading http://packagist.org/p/dompdf/dompdf%24463c81ec1e60098df822c1a070d7f546485cfb01611d83c39ac61cfbdbc509a2.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-dompdf$dompdf.json into cache
    Downloading http://packagist.org/p/phpoffice/phpexcel%244658f370372034457bd29273c403328dbe4c88c18533549287abefeaa44e525e.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-phpoffice$phpexcel.json into cache
    Downloading http://packagist.org/p/ezyang/htmlpurifier%24b03a4d19bc6a702e85327194a42335a6fc82cc12e5d51feb81144fbac9bc66e9.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-ezyang$htmlpurifier.json into cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzlehttp$guzzle.json from cache
    Downloading http://packagist.org/p/symfony/http-foundation%24a16db92f81806cdd1639e380632e11d6a4f26bdc3b528aa8ec60c2db09f4e7c2.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-symfony$http-foundation.json into cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-overtrue$socialite.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzlehttp$ringphp.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzlehttp$psr7.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzlehttp$promises.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-symfony$polyfill-mbstring.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-symfony$polyfill-php54.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-symfony$polyfill-php55.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzlehttp$streams.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-react$promise.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-psr$http-message.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-ircmaxell$password-compat.json from cache
    Downloading http://packagist.org/p/thinkcmf/thinkcmf%2427fe5fd9aa171ae4452f4f525784b21972b843e5ee310c2d80183b02ac329811.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-thinkcmf$thinkcmf.json into cache
    Downloading http://packagist.org/p/league/oauth2-client%24fc039db6370bcd7b910aad4970ba904ac0e99b804426578bc6104fcad9326daa.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-league$oauth2-client.json into cache
    Downloading http://packagist.org/p/guzzle/guzzle%24a08ee6e0cd6d2238d2f6813b17f9fefe2b40de3aa6661ca8cbbd5bd227a09d80.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$guzzle.json into cache
    Downloading http://packagist.org/p/symfony/event-dispatcher%24b1d7edb0b21eea7f26aaba5264761f068d20fa7b042cfa5b3482fa4420d12e36.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-symfony$event-dispatcher.json into cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-overtrue$wechat.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-pimple$pimple.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-monolog$monolog.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-doctrine$cache.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-psr$container.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-psr$log.json from cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-symfony$psr-http-message-bridge.json from cache
    Downloading http://packagist.org/p/guzzle/batch%2494d9b9dc7c95c368d6d0cf4e04ff6fc6b8001fb91ad54ef60c9d9b07e7b00622.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$batch.json into cache
    Downloading http://packagist.org/p/guzzle/cache%24c163b4a542cc655113b7837f3a230a4db1449aa35f049768989e5d0fc6847efb.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$cache.json into cache
    Downloading http://packagist.org/p/guzzle/common%246187f95fee790560c9591ca12ee5dde21c01e8e3ba23721832060054797ed8c0.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$common.json into cache
    Downloading http://packagist.org/p/guzzle/http%24d00bd401a389085d7feccc6f15b33bf4b1cf913a2b7e22f1682988dfeca8462e.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$http.json into cache
    Downloading http://packagist.org/p/guzzle/inflection%24b16f493fac8bf7c4f69ff1ff1d49621f60a04ef87a22ccd0067eb4a4291d2205.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$inflection.json into cache
    Downloading http://packagist.org/p/guzzle/iterator%24dc1c2db109b20abceb3ba313cb6bc8ab14c974de5d02ded997fc7e6b6ebc0b52.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$iterator.json into cache
    Downloading http://packagist.org/p/guzzle/log%24f51249964e20828c9b43bbec2f6f2c9cb65743bb543d8963fcb170c18611539f.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$log.json into cache
    Downloading http://packagist.org/p/guzzle/parser%244df9fd96608ca0d792620ae7b7e1c0a7ef045e33ddacf8804a9f84320eebe78a.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$parser.json into cache
    Downloading http://packagist.org/p/guzzle/plugin%24a61ee05832cbd10b1a7cd2c846a0c23f118fa180983a342870fee508d9d2367e.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-async%24f6769f5e3ba606568a9783522b031ed61d3972a7e0a7e0f167029a93dbe31a88.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-async.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-backoff%24815327053f24b310c3d1141eb90f9372390ec3a7c13e6138bac7e49042175cb2.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-backoff.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-cache%24efeecdd1be04161737ea466a20c057bf4809fdee1b88b6e95259c365d6103a82.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-cache.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-cookie%24a47ebd3422343d396dcf789a5db9a0262ff1d516fdf587b9dfaf5f6b1a72fbdd.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-cookie.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-curlauth%24032133dc40db75af3ecff42fe4e8e59b710093dfaef6d2b3b7ecaf04e28e6db1.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-curlauth.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-error-response%24b3153b5e0ba501f63d7aad4dba94b015bddb30ab7c7ad4dc2df06b7644fb36e8.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-error-response.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-history%24e9c8817e1e40817a7f6e026f440ff6be0e6d5adb7211f943e077d569ef14e832.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-history.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-log%24bf9fe9b9ff67b026d14a371ceada1e11ee52e4baf62a46509b108846e06fd858.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-log.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-md5%2400f6d38374e0345f7c5f539ea17057c475b14b03e5ba13ed3cca968cca75da30.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-md5.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-mock%2445a8db62289e029888d816155c255de59601f0e4ca60dcb16bfc7f8e1e941a35.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-mock.json into cache
    Downloading http://packagist.org/p/guzzle/plugin-oauth%24571a08590c81d76e140380ab4564dc295e29f31b982e5e5eb5c53b1870e8bad4.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$plugin-oauth.json into cache
    Downloading http://packagist.org/p/guzzle/service%243e93bc475e7092ffe46bce89727529c83c95f1f7cff840a4b93e34eccebb2ef4.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$service.json into cache
    Downloading http://packagist.org/p/guzzle/stream%24575df0c18824ed75cb288e94733e06ed92bf0291c70fc5c76d56ce74bdc43652.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-guzzle$stream.json into cache
    Downloading http://packagist.org/p/symfony/dependency-injection%248ff3471dccbbb8fd6f6a5809ccd02996428c511b914a867bf5d508081cb058e5.json
    Writing C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-symfony$dependency-injection.json into cache
    Reading C:/Users/Lenovo/AppData/Local/Composer/repo/https---packagist.org/provider-doctrine$common.json from cache
    Resolving dependencies through SAT
    Dependency resolution completed in 0.266 seconds
    Analyzed 2501 packages to resolve dependencies
    Analyzed 44412 rules to resolve dependencies
    Package operations: 13 installs, 1 update, 0 removals
    Installs: symfony/polyfill-mbstring:v1.5.0, symfony/http-foundation:v3.3.9, psr/http-message:1.0.1, symfony/psr-http-message-bridge:v1.0.0, guzzlehttp/promises:v1.3.1, guzzlehttp/psr7:1.4.2, guzzlehttp/guzzle:6.3.0, doctrine/cache:v1.6.2, psr/log:1.0.2, monolog/monolog:1.23.0, psr/container:1.0.0, pimple/pimple:v3.2.2, overtrue/wechat:3.3.15
    Updates: overtrue/socialite:1.3.0
      - Installing symfony/polyfill-mbstring (v1.5.0): Reading C:/Users/Lenovo/AppData/Local/Composer/files/symfony/polyfill-mbstring/51e1f303b2bdc7af1f26a9496e0f06d86130cece.zip from cache
    Loading from cache
     Extracting archive    REASON: symfony/http-foundation v3.3.9 requires symfony/polyfill-mbstring ~1.1 -> satisfiable by symfony/polyfill-mbstring[v1.1.0, v1.1.1, v1.2.0, v1.3.0, v1.3.1, v1.4.0, v1.5.0].
    
      - Installing symfony/http-foundation (v3.3.9): Downloading https://api.github.com/repos/symfony/http-foundation/zipball/2cdc7de1921d1a1c805a13dc05e44a2cd58f5ad3
    Downloading (connecting...)
    Following redirect (2) https://codeload.github.com/symfony/http-foundation/legacy.zip/2cdc7de1921d1a1c805a13dc05e44a2cd58f5ad3
    Downloading https://codeload.github.com/symfony/http-foundation/legacy.zip/2cdc7de1921d1a1c805a13dc05e44a2cd58f5ad3
    Downloading (100%)Writing C:/Users/Lenovo/AppData/Local/Composer/files/symfony/http-foundation/179a4cf46637445655c8ccfd21a3e503b65e2304.zip into cache from E:php	hinkcmf-master	hinkcmf5simplewindvendor/symfony/http-foundation/f94e7890c43f432ff41b2d26c671a3c3
    
     Extracting archive    REASON: overtrue/wechat 3.3.15 requires symfony/http-foundation ~2.6|~2.7|~2.8|~3.0 -> satisfiable by symfony/http-foundation[v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.33, v2.7.34, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.1, v3.2.10, v3.2.11, v3.2.12, v3.2.13, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8, v3.2.9, v3.3.0, v3.3.1, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9].
    
      - Installing psr/http-message (1.0.1): Reading C:/Users/Lenovo/AppData/Local/Composer/files/psr/http-message/cc1d4e9ee13f2053b80c08976256789bf3be5256.zip from cache
    Loading from cache
     Extracting archive    REASON: guzzlehttp/psr7 1.4.2 requires psr/http-message ~1.0 -> satisfiable by psr/http-message[1.0, 1.0.1].
    
      - Installing symfony/psr-http-message-bridge (v1.0.0): Downloading https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/66085f246d3893cbdbcec5f5ad15ac60546cf0de
    Downloading (connecting...)
    Following redirect (2) https://codeload.github.com/symfony/psr-http-message-bridge/legacy.zip/66085f246d3893cbdbcec5f5ad15ac60546cf0de
    Downloading https://codeload.github.com/symfony/psr-http-message-bridge/legacy.zip/66085f246d3893cbdbcec5f5ad15ac60546cf0de
    Downloading (0%)                                                                                                        Downloading (100%)Writing C:/Users/Lenovo/AppData/Local/Composer/files/symfony/psr-http-message-bridge/d9a6c8a61fd42b36b96f5445333733c88eacc2bc.zip into cache from E:php	hinkcmf-master	hinkcmf5simplewindvendor/symfony/psr-http-message-bridge/8c7a91327c0eb54d71e634ed3cc945bb
    
     Extracting archive    REASON: overtrue/wechat 3.3.15 requires symfony/psr-http-message-bridge ~0.3|^1.0 -> satisfiable by symfony/psr-http-message-bridge[v0.3, v0.4, v1.0.0].
    
      - Installing guzzlehttp/promises (v1.3.1): Downloading https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646
    Downloading (connecting...)
    Following redirect (2) https://codeload.github.com/guzzle/promises/legacy.zip/a59da6cf61d80060647ff4d3eb2c03a2bc694646
    Downloading https://codeload.github.com/guzzle/promises/legacy.zip/a59da6cf61d80060647ff4d3eb2c03a2bc694646
    Downloading (100%)Writing C:/Users/Lenovo/AppData/Local/Composer/files/guzzlehttp/promises/ba05e5df3bded4f01482d4b16ae313a79742eba6.zip into cache from E:php	hinkcmf-master	hinkcmf5simplewindvendor/guzzlehttp/promises/3e6e91fae23c630da33cac0aba86e75d
    
     Extracting archive    REASON: guzzlehttp/guzzle 6.3.0 requires guzzlehttp/promises ^1.0 -> satisfiable by guzzlehttp/promises[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.2.0, 1.3.0, v1.3.1].
    
      - Installing guzzlehttp/psr7 (1.4.2): Downloading https://api.github.com/repos/guzzle/psr7/zipball/f5b8a8512e2b58b0071a7280e39f14f72e05d87c
    Downloading (connecting...)
    Following redirect (2) https://codeload.github.com/guzzle/psr7/legacy.zip/f5b8a8512e2b58b0071a7280e39f14f72e05d87c
    Downloading https://codeload.github.com/guzzle/psr7/legacy.zip/f5b8a8512e2b58b0071a7280e39f14f72e05d87c
    Downloading (100%)Writing C:/Users/Lenovo/AppData/Local/Composer/files/guzzlehttp/psr7/4ff23c014517dc085ca6e765cb7cebd69461f195.zip into cache from E:php	hinkcmf-master	hinkcmf5simplewindvendor/guzzlehttp/psr7/4068bc6c854f2da06f30e652975dbaa3
    
     Extracting archive    REASON: guzzlehttp/guzzle 6.3.0 requires guzzlehttp/psr7 ^1.4 -> satisfiable by guzzlehttp/psr7[1.4.0, 1.4.1, 1.4.2].
    
      - Installing guzzlehttp/guzzle (6.3.0): Downloading https://api.github.com/repos/guzzle/guzzle/zipball/f4db5a78a5ea468d4831de7f0bf9d9415e348699
    Downloading (connecting...)
    Following redirect (2) https://codeload.github.com/guzzle/guzzle/legacy.zip/f4db5a78a5ea468d4831de7f0bf9d9415e348699
    Downloading https://codeload.github.com/guzzle/guzzle/legacy.zip/f4db5a78a5ea468d4831de7f0bf9d9415e348699
    Downloading (100%)Writing C:/Users/Lenovo/AppData/Local/Composer/files/guzzlehttp/guzzle/374f425e23845b87c811739af166996feb840314.zip into cache from E:php	hinkcmf-master	hinkcmf5simplewindvendor/guzzlehttp/guzzle/b340bad865fc5023e2f8dde39011c786
    
     Extracting archive    REASON: overtrue/wechat 3.3.15 requires guzzlehttp/guzzle ~6.2 -> satisfiable by guzzlehttp/guzzle[6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0].
    
      - Installing doctrine/cache (v1.6.2): Reading C:/Users/Lenovo/AppData/Local/Composer/files/doctrine/cache/79e9b3a8a61082e12f06e01dac3325bcf70f98c1.zip from cache
    Loading from cache
     Extracting archive    REASON: overtrue/wechat 3.3.15 requires doctrine/cache ~1.4 -> satisfiable by doctrine/cache[1.5.3, v1.4.0, v1.4.1, v1.4.2, v1.4.3, v1.4.4, v1.5.0, v1.5.1, v1.5.2, v1.5.4, v1.6.0, v1.6.1, v1.6.2, v1.7.0, v1.7.1].
    
      - Updating overtrue/socialite (dev-master => 1.3.0): Downloading https://api.github.com/repos/overtrue/socialite/zipball/fda55f0acef43a144799b1957a8f93d9f5deffce
    Downloading (connecting...)
    Following redirect (2) https://codeload.github.com/overtrue/socialite/legacy.zip/fda55f0acef43a144799b1957a8f93d9f5deffce
    Downloading https://codeload.github.com/overtrue/socialite/legacy.zip/fda55f0acef43a144799b1957a8f93d9f5deffce
    Downloading (100%)Writing C:/Users/Lenovo/AppData/Local/Composer/files/overtrue/socialite/f2ec0fb5d6ab5c9ae77f94412be02d90076df424.zip into cache from E:php	hinkcmf-master	hinkcmf5simplewindvendor/overtrue/socialite/4d4539549516749be5656a0d217acfd3
     Extracting archive
        REASON: overtrue/wechat 3.3.15 requires overtrue/socialite >=1.0.25 -> satisfiable by overtrue/socialite[dev-master, 1.0.25, 1.0.26, 1.0.27, 1.1.0, 1.1.1, 1.2.0, 1.3.0].
    
      - Installing psr/log (1.0.2): Reading C:/Users/Lenovo/AppData/Local/Composer/files/psr/log/216fe71da49480fa51edd2c2fe0f7f93d5e2714a.zip from cache
    Loading from cache
     Extracting archive    REASON: monolog/monolog 1.23.0 requires psr/log ~1.0 -> satisfiable by psr/log[1.0.0, 1.0.1, 1.0.2].
    
      - Installing monolog/monolog (1.23.0): Reading C:/Users/Lenovo/AppData/Local/Composer/files/monolog/monolog/dfe1aac04592f839ad40ab8039652c591d4a6144.zip from cache
    Loading from cache
     Extracting archive    REASON: overtrue/wechat 3.3.15 requires monolog/monolog ^1.17 -> satisfiable by monolog/monolog[1.17.0, 1.17.1, 1.17.2, 1.18.0, 1.18.1, 1.18.2, 1.19.0, 1.20.0, 1.21.0, 1.22.0, 1.22.1, 1.23.0].
    
      - Installing psr/container (1.0.0): Downloading https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f
    Downloading (connecting...)
    Following redirect (2) https://codeload.github.com/php-fig/container/legacy.zip/b7ce3b176482dbbc1245ebf52b181af44c2cf55f
    Downloading https://codeload.github.com/php-fig/container/legacy.zip/b7ce3b176482dbbc1245ebf52b181af44c2cf55f
    Downloading (100%)Writing C:/Users/Lenovo/AppData/Local/Composer/files/psr/container/9bd0b358d39e22d7d8d7a342efcb207f3ae9a84d.zip into cache from E:php	hinkcmf-master	hinkcmf5simplewindvendor/psr/container/e9f14ba6b319c1d861721ea4857c08e5
    
     Extracting archive    REASON: pimple/pimple v3.2.2 requires psr/container ^1.0 -> satisfiable by psr/container[1.0.0].
    
      - Installing pimple/pimple (v3.2.2): Downloading https://api.github.com/repos/silexphp/Pimple/zipball/4d45fb62d96418396ec58ba76e6f065bca16e10a
    Downloading (connecting...)
    Following redirect (2) https://codeload.github.com/silexphp/Pimple/legacy.zip/4d45fb62d96418396ec58ba76e6f065bca16e10a
    Downloading https://codeload.github.com/silexphp/Pimple/legacy.zip/4d45fb62d96418396ec58ba76e6f065bca16e10a
    Downloading (100%)Writing C:/Users/Lenovo/AppData/Local/Composer/files/pimple/pimple/731abe7fb4c7f3b6f614b128f97c135eed12c572.zip into cache from E:php	hinkcmf-master	hinkcmf5simplewindvendor/pimple/pimple/7080b7ddaf702af59ebe8c327f3549cb
    
     Extracting archive    REASON: overtrue/wechat 3.3.15 requires pimple/pimple ~3.0 -> satisfiable by pimple/pimple[v3.0.0, v3.0.1, v3.0.2, v3.1.0, v3.2.0, v3.2.1, v3.2.2].
    
      - Installing overtrue/wechat (3.3.15): Downloading https://api.github.com/repos/overtrue/wechat/zipball/8a62343bfdfc332e01b07c0be439f2532c827119
    Downloading (connecting...)
    Following redirect (2) https://codeload.github.com/overtrue/wechat/legacy.zip/8a62343bfdfc332e01b07c0be439f2532c827119
    Downloading https://codeload.github.com/overtrue/wechat/legacy.zip/8a62343bfdfc332e01b07c0be439f2532c827119
    Downloading (100%)Writing C:/Users/Lenovo/AppData/Local/Composer/files/overtrue/wechat/50581af33f64a3ca5ce668c34138f82568f05140.zip into cache from E:php	hinkcmf-master	hinkcmf5simplewindvendor/overtrue/wechat/ffe5a28f576e6d33800dc4c276ed39f8
    
     Extracting archive    REASON: Required by the root package: Install command rule (install overtrue/wechat 3.0|install overtrue/wechat 3.0.1|install overtrue/wechat 3.0.21|install overtrue/wechat 3.1.0|install overtrue/wechat 3.1.1|install overtrue/wechat 3.1.2|install overtrue/wechat 3.1.3|install overtrue/wechat 3.1.4|install overtrue/wechat 3.1.5|install overtrue/wechat 3.1.6|install overtrue/wechat 3.1.7|install overtrue/wechat 3.1.8|install overtrue/wechat 3.1.9|install overtrue/wechat 3.2.0|install overtrue/wechat 3.2.1|install overtrue/wechat 3.2.2|install overtrue/wechat 3.2.3|install overtrue/wechat 3.2.4|install overtrue/wechat 3.2.5|install overtrue/wechat 3.2.6|install overtrue/wechat 3.2.7|install overtrue/wechat 3.3.0|install overtrue/wechat 3.3.1|install overtrue/wechat 3.3.10|install overtrue/wechat 3.3.11|install overtrue/wechat 3.3.12|install overtrue/wechat 3.3.13|install overtrue/wechat 3.3.14|install overtrue/wechat 3.3.15|install overtrue/wechat 3.3.2|install overtrue/wechat 3.3.3|install overtrue/wechat 3.3.4|install overtrue/wechat 3.3.5|install overtrue/wechat 3.3.6|install overtrue/wechat 3.3.7|install overtrue/wechat 3.3.8|install overtrue/wechat 3.3.9)
    
    symfony/psr-http-message-bridge suggests installing zendframework/zend-diactoros (To use the Zend Diactoros factory)
    monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
    monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
    monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
    monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
    monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
    monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
    monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
    monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
    monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
    monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
    monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
    Reading E:php	hinkcmf-master	hinkcmf5/simplewind/vendor/composer/installed.json
    Writing lock file
    Generating autoload files
    
    E:php	hinkcmf-master	hinkcmf5simplewind>
    View Code

    总觉得正确的做法应该是 在thinkcmf5项目的composer.json里增加对easywechat的依赖 然后在thinkcmf5目录下直接composer install。

    最后测试竟然返现phpstudy 无法启动,重启一下试试。

  • 相关阅读:
    生产者消费者模式
    Linux提权(capabilities)
    协程
    xpath常用
    iframe 练习
    python 实现数据库中数据添加、查询与更新
    web网站压力/性能测试经验分享
    AttributeError: module 'applescript' has no attribute 'app'解决方案
    pip3: error: can't exec '/usr/local/bin/pip3' (errno=No such file or directory)报错解决方案
    看了这篇双十一抢购攻略?喜欢的东西还能抢不到?
  • 原文地址:https://www.cnblogs.com/djiz/p/7530639.html
Copyright © 2011-2022 走看看