HTML/FORM not found in Laravel ?

Share Me
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Now in this blog i will show you how to solve HTML/FORM not found problem in laravel. When we are want to use Form or Html class and then we are see an error as like ‘HTML’ class not found OR ‘Form’ class not found. So at that time don’t worry about that because in Laravel it change the package. So we should download the HTML and FORM class to helper from given instruction above.

So need to add given bellow text to our composer.json file.

"require": {
"laravel/framework": "5.0.*",
"laravelcollective/html": "~5.0"
},

OR

composer require laravelcollective/html

So after the fire composer update command After Update composer, we can open config/app.php and then we need add this line to the ‘providers’ array:

'Collective\Html\HtmlServiceProvider',

So on next, we need to add these lines to the ‘aliases’ array:

'FORM' => 'Collective\Html\FormFacade','HTML' => 'Collective\Html\HtmlFacade',

Read Also : How to count number of files in folder and remove all files in folder in laravel example?

Thanks for read this, I hope it will you. You can also follow us on Facebook.

About code chef

My name is Shahriar sagor. I'm a developer. I live in Bangladesh and I love to write tutorials and tips that will help to other Developer's. I am a big fan of PHP, Javascript, JQuery, Laravel, Codeigniter, VueJS, AngularJS and Bootstrap from the early stage.

View all posts by code chef →