Class form or html not found in Laravel 5

Class form or html not found in Laravel 5

Sometime you use Form or HTML class in your laravel project you will get error like `HTML` or `FORM` class not found. You are getting error because Laravel 5 made changes in their library. You should download HTML and FORM class helper using composer.

Add following code in your composer.json file.

"require": {

"laravel/framework": "5.0.*",

"laravelcollective/html": "~5.0"

},
OR

composer require laravelcollective/html

After running this command, Composer will load the HTML and FORM class, you just provide the alias name.

Openconfig/app.php and add this line to service providers array:

'Collective\Html\HtmlServiceProvider',

Next, add following line of code to aliases array.

Phone: (+91) 8800417876
Noida, 201301