At first you can go to your project folder then choose config folder and next choose app.php and open it
Collective\Html\HtmlServiceProvider::class paste this code under providers, try it:
‘providers’ => [
/* — HTML Service Provider class —- */
Collective\Html\HtmlServiceProvider::class,
],
And
‘Form’ => Collective\Html\FormFacade::class,
‘Html’ => Collective\Html\HtmlFacade::class,
paste this code under aliases, try it:
‘aliases’ => [
‘Form’ => Collective\Html\FormFacade::class,
‘Html’ => Collective\Html\HtmlFacade::class,
],
Next update composer, try this code:
composer require “laravelcollective/html”:”^5.2.0″
Question and answer is powered by AnsPress.io