First of all..sorry for my bad english.
I installed a fresh copy of laravel 5 on my localhost and configured its database.php and .env file. it was running well.
After that i added (as stated here https://laravelcollective.com/docs/5.1/html)
"require": {
"laravelcollective/html": "5.1.*"
}
in my composer.json And. updated Composer from the Terminal:
composer update
Next, When i am running my page, it gives following fatal error:
Fatal error: Class 'Illuminate\Foundation\Application' not found in C:\xampp\htdocs\TodoApp\bootstrap\app.php on line 14
I guess you shall follow this way to include your html helper
and do
then change inside your
config/app.php
I recommend you to follow this according to your laravel version
Note :
Don't edit your autoload like this
Your composer file is probably messed up.
Run
composer update --no-scripts