Help us understand the problem. What is going on with this article?

Laravelプロジェクトを最新にする

More than 3 years have passed since last update.

フレームワーク本体はcomposerでアップデートできるけど
プロジェクトはGitHubのコミットログ見て手動で修正するしかないのかな?
https://github.com/laravel/laravel

さらっと重要な変更してたりするので地味に困る。
最近だと
composer.jsonのComposerScripts
https://github.com/laravel/laravel/commit/40e5e164a91d12f6d95c2db74cbf592b85448fd6
php artisan clear-compiled でエラーになって composer install が失敗してた。
CIで自動デプロイしてるような環境だといきなり動かなくなる。

routes.phpで['middleware' => ['web']]が必要になった直後に
https://github.com/laravel/laravel/commit/1d5e88d0fb687d8ea57a85f9e5d11e7e63685ae2
不要になったり
https://github.com/laravel/laravel/commit/5c30c98db96459b4cc878d085490e4677b0b67ed
手元の作成済みプロジェクトでは自分でRouteServiceProvider.phpを修正する必要がある。

5.2.*のままでも互換維持されてるとは限らないので安心できない。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away