I\'ve just upgraded Laravel from 5.0 to 5.1.
I get this error:
Call to undefined method Illuminate\\Foundation\\Application::bindShared()
I am Rails developer & new to laravel & its just my first day and got stuck in this Form Builder issue. I have gone through many discussions and posts but got my solution on https://laravelcollective.com/docs/5.0/html
To use blade form builder (Form::open) we need to change our composer.json and add "laravelcollective/html": "~5.0"
in the require block.
Then run composer update because then only new dependencies will be available to your project.
Now add 'Collective\Html\HtmlServiceProvider', inside config/app.php inside providers block also you need to add
'aliases' => [
// ...
'Form' => 'Collective\Html\FormFacade',
'Html' => 'Collective\Html\HtmlFacade',
// ...
],
inside config/app.php in aliases block.
run php artisan serve Enjoy Form builder with blade engine.