Why not login to Qiita and try out its useful features?

We'll deliver articles that match you.

You can read useful information later.

6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Laravel4.1.xから4.2.xへのアップグレード方法

Last updated at Posted at 2014-06-03

ついにLaravel4.2がやってきましたー!

・リリースノート
http://laravel4.kore1server.com/docs/42/releases

PHP5.4が必要になったり、Laravel Forgeへの対応があったりetc etc....

というわけで今回はLaravel4.1.x→4.2.xへのアップグレード方法を書いていきます!

#アップグレード方法

まずはcomposer.jsonの中身を変更していきます!
4.1.*の部分を4.2.*に変更しましょー

{
  "name": "laravel/laravel",
  "description": "The Laravel Framework.",
  "keywords": ["framework", "laravel"],
  "license": "MIT",
  "require": {
    "laravel/framework": "4.2.*",
  }, 

次にapp/config/app.phpに以下のコードも足して下さい!

'cipher' => MCRYPT_RIJNDAEL_256

で、後はcomposer updateを実行するだけ!
超簡単!

という訳で4.1.*→4.2.*は色々と変更点が多いですので、リリースノートを見つつ動かなくなっているところはないか確認してみてくださいー。

6
6
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up

Qiita Advent Calendar is held!

Qiita Advent Calendar is an article posting event where you post articles by filling a calendar 🎅

Some calendars come with gifts and some gifts are drawn from all calendars 👀

Please tie the article to your calendar and let's enjoy Christmas together!

6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?