title: Upgrade Laravel project from 5.5 to latest version 8
body: <p>I want to Upgrade my Laravel project from (5.5 to 8) what I will do for that.
  I didn't found any documents to upgrade from 5.5 to 8 just upgrade from 5.5 to 5.6 or from 7 to 8 maybe must upgrade the project step by step from 5.5 to 5.6 the from 5.6 to 5.7 then .... nutil 8
  Thanks</p>
  <p>composer.json(Laravel 5.5):</p>
  <pre><code>{
  &quot;name&quot;: &quot;HomFolio&quot;,
  &quot;description&quot;: &quot;Smart Property Investing&quot;,
  &quot;keywords&quot;: [&quot;framework&quot;, &quot;laravel&quot;],
  &quot;license&quot;: &quot;MIT&quot;,
  &quot;type&quot;: &quot;project&quot;,
  &quot;require&quot;: {
      &quot;php&quot;: &quot;&gt;=7.0.0&quot;,
      &quot;ext-json&quot;: &quot;*&quot;,
      &quot;barryvdh/laravel-dompdf&quot;: &quot;^0.8.1&quot;,
      &quot;barryvdh/laravel-translation-manager&quot;: &quot;dev-master&quot;,
      &quot;fideloper/proxy&quot;: &quot;~3.3&quot;,
      &quot;intervention/image&quot;: &quot;^2.4&quot;,
      &quot;joedixon/laravel-translation&quot;: &quot;^1.1&quot;,
      &quot;laravel/framework&quot;: &quot;5.5.*&quot;,
      &quot;laravel/tinker&quot;: &quot;~1.0&quot;,
      &quot;stripe/stripe-php&quot;: &quot;^4.7&quot;,
      &quot;zizaco/entrust&quot;: &quot;dev-master&quot;
  },
  &quot;require-dev&quot;: {
      &quot;filp/whoops&quot;: &quot;~2.0&quot;,
      &quot;fzaninotto/faker&quot;: &quot;~1.4&quot;,
      &quot;mockery/mockery&quot;: &quot;~1.0&quot;,
      &quot;phpunit/phpunit&quot;: &quot;~6.0&quot;,
      &quot;xethron/migrations-generator&quot;: &quot;^2.0&quot;
  },
  &quot;autoload&quot;: {
      &quot;classmap&quot;: [
          &quot;database/seeds&quot;,
          &quot;database/factories&quot;
      ],
      &quot;psr-4&quot;: {
          &quot;App\\&quot;: &quot;app/&quot;
      }
  },
  &quot;autoload-dev&quot;: {
      &quot;psr-4&quot;: {
          &quot;Tests\\&quot;: &quot;tests/&quot;
      }
  },
  &quot;extra&quot;: {
      &quot;laravel&quot;: {
          &quot;dont-discover&quot;: [
          ]
      }
  },
  &quot;scripts&quot;: {
      &quot;post-root-package-install&quot;: [
          &quot;@php -r \&quot;file_exists('.env') || copy('.env.example', '.env');\&quot;&quot;
      ],
      &quot;post-create-project-cmd&quot;: [
          &quot;@php artisan key:generate&quot;
      ],
      &quot;post-autoload-dump&quot;: [
          &quot;Illuminate\\Foundation\\ComposerScripts::postAutoloadDump&quot;,
          &quot;@php artisan package:discover&quot;
      ]
  },
  &quot;config&quot;: {
      &quot;preferred-install&quot;: &quot;dist&quot;,
      &quot;sort-packages&quot;: true,
      &quot;optimize-autoloader&quot;: true
  }
  }
  </code></pre>
  <p>composer.json (Laravel 8):</p>
  <pre><code>{
  &quot;name&quot;: &quot;laravel/laravel&quot;,
  &quot;type&quot;: &quot;project&quot;,
  &quot;description&quot;: &quot;The Laravel Framework.&quot;,
  &quot;keywords&quot;: [
      &quot;framework&quot;,
      &quot;laravel&quot;
  ],
  &quot;license&quot;: &quot;MIT&quot;,
  &quot;require&quot;: {
      &quot;php&quot;: &quot;^7.2.5&quot;,
      &quot;fideloper/proxy&quot;: &quot;^4.2&quot;,
      &quot;fruitcake/laravel-cors&quot;: &quot;^1.0&quot;,
      &quot;guzzlehttp/guzzle&quot;: &quot;^6.3&quot;,
      &quot;laravel/framework&quot;: &quot;^7.0&quot;,
      &quot;laravel/tinker&quot;: &quot;^2.0&quot;
  },
  &quot;require-dev&quot;: {
      &quot;facade/ignition&quot;: &quot;^2.0&quot;,
      &quot;fzaninotto/faker&quot;: &quot;^1.9.1&quot;,
      &quot;mockery/mockery&quot;: &quot;^1.3.1&quot;,
      &quot;nunomaduro/collision&quot;: &quot;^4.1&quot;,
      &quot;phpunit/phpunit&quot;: &quot;^8.5&quot;
  },
  &quot;config&quot;: {
      &quot;optimize-autoloader&quot;: true,
      &quot;preferred-install&quot;: &quot;dist&quot;,
      &quot;sort-packages&quot;: true
  },
  &quot;extra&quot;: {
      &quot;laravel&quot;: {
          &quot;dont-discover&quot;: []
      }
  },
  &quot;autoload&quot;: {
      &quot;psr-4&quot;: {
          &quot;App\\&quot;: &quot;app/&quot;
      },
      &quot;classmap&quot;: [
          &quot;database/seeds&quot;,
          &quot;database/factories&quot;
      ]
  },
  &quot;autoload-dev&quot;: {
      &quot;psr-4&quot;: {
          &quot;Tests\\&quot;: &quot;tests/&quot;
      }
  },
  &quot;minimum-stability&quot;: &quot;dev&quot;,
  &quot;prefer-stable&quot;: true,
  &quot;scripts&quot;: {
      &quot;post-autoload-dump&quot;: [
          &quot;Illuminate\\Foundation\\ComposerScripts::postAutoloadDump&quot;,
          &quot;@php artisan package:discover --ansi&quot;
      ],
      &quot;post-root-package-install&quot;: [
          &quot;@php -r \&quot;file_exists('.env') || copy('.env.example', '.env');\&quot;&quot;
      ],
      &quot;post-create-project-cmd&quot;: [
          &quot;@php artisan key:generate --ansi&quot;
      ]
  }
  }
  </code></pre>