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-modefor more info
- Installing illuminate/html (v5.0.0)
Downloading: 100%
Downloading: 100%
Downloading: 100%
Failedto download illuminate/html from dist: The "https://api.github.com/repos/illuminate/html/zipball/3d1009bb8e0f25720c914af5c1f4015dd373c9ef"file could not be downloaded: SSL: Handshake timed outFailedtoenable crypto
failedtoopen stream: operation failedNow trying to download fromsource
- Installing illuminate/html (v5.0.0)
Cloning 3d1009bb8e0f25720c914af5c1f4015dd373c9ef
[RuntimeException]
Failedtoclone git@github.com:illuminate/html.git, git was notfound, check that it is installed andin your PATH
thinkings at thinkings in ~/LaravelStudy
$ composer require laravelcollective/html
Using version ^5.2for laravelcollective/html
./composer.json has been updated
> php artisan clear-compiled
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Collective\Html\HtmlServiceProvider'not found
Script php artisan clear-compiled handling the pre-update-cmd event returned withan error
[RuntimeException]
Error Output:
大神,我创建了2个控制器一个是TestController,一个是TestUpdateController,都继承Controller,使用的是同一个Test Model,但是TestController里面的方法配置路由都能正常访问,但是TestUpdateController里面的方法都会报这个错
Target [App\Http\Controllers\Test\TestUpdateController] is not instantiable,不知道是什么原因,网上找不到答案
执行第一条命令 composer require “laravelcollective/html”:"^5.3.0" 报错 “Your requirements could not be resolved to an installable set of packages.
Installation failed, reverting ./composer.json to its original content.”
ErrorException in Macroable.php line 81:
Methodlabledoesnotexist. (View: /home/yusheng/PhpstormProjects/Laravel-learn/Laravel5.1/resources/views/articles/create.blade.php)
执行composer require illuminate/html就好像报错了似得,如下信息:
Using version ^5.0 for illuminate/html
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
Installing illuminate/html (v5.0.0):
Package illuminate/html is abandoned, you should avoid using it. Use laravelcollective/html instead.
Writing lock file
Generating optimized autoload files