upgrade.md 652 B

Laravel Upgrade Guide

Upgrading From 4.0 to 4.1

  • composer update.
  • Replace public/index.php, artisan.php.
  • Add new expire_on_close option to session configuration file.
  • Remove call to redirectIfTrailingSlash in bootstrap/start.php file.
  • Edit app/config/app.php; in aliases change 'Controller' => 'Illuminate\Routing\Controllers\Controller', to use Illuminate\Routing\Controller
  • Edit app/controllers/BaseController.php change use Illuminate\Routing\Controllers\Controller; to use Illuminate\Routing\Controller;
  • If you are overriding missingMethod in your controllers, add $method as the first parameter.