form and html not found in laravel

If you are getting `HTML` or `FORM` class not found error in your laravel 5 application then you are a right place. You have this error because Laravel version made changes in their library.

So, let’s run bellow command in your laravel 5 application

composer require laravelcollective/html

After run above command, You have to add provide the alias name on app.php file. So le’s follow how you have to add.


return [


    'providers' => [
    'aliases' => [
      'Form' => 'Collective\Html\FormFacade',
      'HTML' => 'Collective\Html\HtmlFacade',

Leave a Comment