Call to undefined method Illuminate \ Foundation \ Application ::bindShared()

To Fix this remove the outdated package "illuminate/html": "^5.0" and replace with new Laravel collective package as shown below

Step 1: Remove "illuminate/html": "^5.0" from composer JSON

//Remove from composer.json
"illuminate/html": "^5.0",

//Remove service providerfrom config/app

//Remove aliases from config/app
'Form'=> 'Illuminate\Html\FormFacade', 
'HTML'=> 'Illuminate\Html\HtmlFacade',

Step 2: Update composer.json with "laravelcollective/html": "5.2.*"

    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": ["framework", "laravel"],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": ">=5.5.9",
        "laravel/framework": "5.2.*",
        "laravelcollective/html": "5.2.*"

Step 3: Update composer

composer update

Step 4: Register new providers and aliases on config/app.php


'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,