905 B
905 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 tosession
configuration file. - Remove call to
redirectIfTrailingSlash
inbootstrap/start.php
file. - Edit
app/config/app.php
; inaliases
change'Controller' => 'Illuminate\Routing\Controllers\Controller',
to useIlluminate\Routing\Controller
and add'SSH' => 'Illuminate\Support\Facades\SSH',
- Edit
app/controllers/BaseController.php
changeuse Illuminate\Routing\Controllers\Controller;
touse Illuminate\Routing\Controller;
- If you are overriding
missingMethod
in your controllers, add $method as the first parameter. - Password reminder system tweaked for greater developer freedom. Inspect stub controller by running
auth:reminders-controller
Artisan command. - Update
reminders.php
language file.