Переключение с Illuminate \ Html на Collective \ Html, класс 'Illuminate \ Html \ HtmlServiceProvider' не найден
Я обновилcomposer.json
удалить подсветку \ html и добавить:
"require": {
"laravelcollective/html": "5.1.*"
Я удалил провайдеров / псевдонимы изapp.php
для Illuminate \ Html и добавлены замены:
Collective\Html\HtmlServiceProvider::class,
...
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
Однако при запускеcomposer update
Я получаю вывод:
$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Removing illuminate/html (v5.0.0)
- Installing laravelcollective/html (v5.1.4)
Downloading: 100%
Writing lock file
Generating autoload files
> php artisan clear-compiled
PHP Fatal error: Class 'Illuminate\Html\HtmlServiceProvider' not found in vendor/laravel/framework/src/Illuminate/Foundation/Application.php on line 648
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Illuminate\Html\HtmlServiceProvider' not found
Script php artisan clear-compiled handling the post-update-cmd event returned with an error
[RuntimeException]
Error Output: PHP Fatal error: Class 'Illuminate\Html\HtmlServiceProvider' not found in vendor/laravel/framework/src/Illuminate/Foundation/Application.php on line 648
Я пытался обновитьcomposer.json
сценарии, как предлагается здесь:https://github.com/LaravelCollective/html/issues/54
Но я все еще получаю ошибку. Любая помощь очень ценится :)