Я обновил 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а>
Но я все еще получаю сообщение об ошибке. Любая помощь приветствуется :)