Laravel : 5 Class 'form' not found Include using command

In this tutorial learn if "form not foud" error display then how to resolve this issue with installing laravelcollective/html using composer.

Form isn't included in laravel 5.0 let's go figure out the issue.


Just type the following command in terminal at project directory and installation is done according laravel version:
composer require "laravelcollective/html"

Then add these lines in config/app.php
'providers' => [
    // ...
    Collective\Html\HtmlServiceProvider::class,
    // ...
],

'aliases' => [
    // ...
   'Form' => Collective\Html\FormFacade::class,
   'Html' => Collective\Html\HtmlFacade::class,
    // ...
],

No comments:

Post a Comment