Files
spa-api/upgrade.md

20 lines
1.2 KiB
Markdown
Raw Normal View History

2013-10-28 11:29:32 -05:00
# Laravel Upgrade Guide
## Upgrading From 4.0 to 4.1
2013-11-27 11:41:01 -06:00
- Update `composer.json` to require `"laravel/framework": "4.1.*"`
2013-10-28 11:29:49 -05:00
- `composer update`.
2013-10-28 11:29:32 -05:00
- Replace `public/index.php`, `artisan.php`.
2013-10-28 14:10:08 -05:00
- 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`.
- in `providers` add `'Illuminate\Remote\RemoteServiceProvider',`.
- in `aliases` add `'SSH' => 'Illuminate\Support\Facades\SSH',`.
- Edit `app/controllers/BaseController.php` change `use Illuminate\Routing\Controllers\Controller;` to `use Illuminate\Routing\Controller;`.
2013-11-05 12:20:16 -06:00
- If you are overriding `missingMethod` in your controllers, add $method as the first parameter.
2013-11-14 21:36:56 -06:00
- Password reminder system tweaked for greater developer freedom. Inspect stub controller by running `auth:reminders-controller` Artisan command.
2013-11-18 11:57:27 -05:00
- Update `reminders.php` language 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).