Try running composer dump-autoload
and php artisan dump
Are you by any chance using v4.3? Form has supposedly been removed in the new version
In case its version 4.3, Follow these instructions:
composer.json
file and run composer update
:"illuminate/html": "4.3.*
providers
array of config/app.php
file:'Illuminate\Html\HtmlServiceProvider'
aliases
array:'Form'=> 'Illuminate\Html\FormFacade',
'HTML'=> 'Illuminate\Html\HtmlFacade'
Now you're good to go.
usm4n said:
In case its version 4.3, Follow these instructions:
- add the following in the require section of the
composer.json
file and runcomposer update
:"illuminate/html": "4.3.*
- add this in
providers
array ofconfig/app.php
file:'Illuminate\Html\HtmlServiceProvider'
- register facades by adding these two lines in the
aliases
array:'Form'=> 'Illuminate\Html\FormFacade', 'HTML'=> 'Illuminate\Html\HtmlFacade'
Now you're good to go.
Thanks, will try this. Why is it so dramatically changed in 4.3?
How much people work with angularJS, etc and how much work with Form ?... Why we should make so much work to add Form in the app ?
Hi,I followed the below steps but its still not working for me,please suggest any solution.
"illuminate/html": "4.3.*
'Illuminate\Html\HtmlServiceProvider'
'Form'=> 'Illuminate\Html\FormFacade', 'HTML'=> 'Illuminate\Html\HtmlFacade'
For future people reading this. There was no 4.3 release version. It became Laravel 5.0. illuminate\html
package should not be used after version 5.0 and has been taken over by the LaravelCollective, laravelcollective/html
.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community