Skip to content

Instantly share code, notes, and snippets.

@dhavalv
Last active May 30, 2016 11:52
Show Gist options
  • Save dhavalv/62336084c87e3cba996845c381097e57 to your computer and use it in GitHub Desktop.
Save dhavalv/62336084c87e3cba996845c381097e57 to your computer and use it in GitHub Desktop.
How to upgrade laravel 4 to latest version(5.2)?

How to upgrade laravel 4 to latest version(laravel 5.2)?

Reference Link for upgrade laravel

"autoload": {
		"classmap": [
			"database",
            "app/libs" // Add directory from app, new custom validator file add here.
		],
		"psr-4": {
			"App\\": "app/"
		}
},

After change of composer.json, you need to composer autoload generate again.

composer dump-autoload

Laravel Upgrade 5.0 to 5.0.16

  • You need to change composer laravel package version value: 5.0 to 5.0.*
  • In your bootstrap/autoload.php file, update the $compiledPath variable to: (Upgrade 5.0 to 5.0.16)
$compiledPath = __DIR__.'/../vendor/compiled.php'; 

Laravel Upgrade 5.0.* to 5.1.0

Upgrading To 5.1.11

Upgrading To 5.2.*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment