- Update
composer.json
to require"laravel/framework": "4.1.*"
- Remove call to
redirectIfTrailingSlash
in/bootstrap/start.php
file. - Replace
/public/index.php
with this file, and/artisan
with this file. - Add new
app/config/remote.php
file from here - Add new
expire_on_close
andsecure
options tosession
configuration file to match this file. - Add new
failed
queue job option toqueue
configuration file to match this file. - Edit
app/config/database.php
and updateredis.cluster
option tofalse
to turn Redis clustering off by default. - Edit
app/config/view.php
and updatepagination
option to use bootstrap 3 as default pagination view (optional). - Edit
app/config/app.php
so thealiases
andproviders
array match this file:- in
aliases
change'Controller' => 'Illuminate\Routing\Controllers\Controller',
to useIlluminate\Routing\Controller
. - in
providers
add'Illuminate\Remote\RemoteServiceProvider',
. - in
aliases
add'SSH' => 'Illuminate\Support\Facades\SSH',
.
- in
- If
app/controllers/BaseController.php
has a use statement at the top, changeuse Illuminate\Routing\Controllers\Controller;
touse Illuminate\Routing\Controller;
. You may also remove this use statament, for you have registered a class alias for this. - 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 to match this file. - If you are using http hosts to set the $env variable in bootstrap/start.php, these should be changed to machine names (as returned by PHP's gethostname() function).
Finally,
- Run
composer update