1.0 KiB
Laravel Upgrade Guide
Upgrading From 4.0 to 4.1
-
composer update. -
Replace
public/index.php,artisan.php. -
Add new
expire_on_closeoption tosessionconfiguration file. -
Remove call to
redirectIfTrailingSlashinbootstrap/start.phpfile. -
Edit
app/config/app.php; inaliaseschange'Controller' => 'Illuminate\Routing\Controllers\Controller',to useIlluminate\Routing\Controller -
Edit
app/controllers/BaseController.phpchangeuse Illuminate\Routing\Controllers\Controller;touse Illuminate\Routing\Controller; -
Edit
app/config/app.php; inprovidersadd'Illuminate\Remote\RemoteServiceProvider', -
Edit
app/config/app.php; inaliasesadd'SSH' => 'Illuminate\Support\Facades\SSH', -
If you are overriding
missingMethodin your controllers, add $method as the first parameter. -
Password reminder system tweaked for greater developer freedom. Inspect stub controller by running
auth:reminders-controllerArtisan command. -
Update
reminders.phplanguage file.