执行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
Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to undefined method Illuminate\Foundation\Application::bindShared()
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
然后访问页面就报错:
Call to undefined method Illuminate\Foundation\Application::bindShared() (View: D:\phpStudy\WWW\test\jstylelaravel\resources\views\articles\create.blade.php)