Upgrading Laravel 5.5 to 5.6 Error

Update to laravel 5.6 from 5.5 composer fails

It looks like sofa/eloquence 5.5.1 requires Laravel 5.5, which is preventing your upgrade to Laravel 5.6.

It looks like they released a package three days ago to be compatible with Laravel 5.6; you can edit your composer file to change its version to 5.6 and run composer update.

    "sofa/eloquence": "^5.6",
"sofa/eloquence-base":"^5.6",

Unable to upgrade laravel framework from 5.5 to 5.6 or 5.7 on an existing project

Note: Please check your PHP version first for laravel required version.

Best way to upgrade laravel framework for your projects in following steps

  1. Take backup of your composer.json file
  2. remove all third party packages from composer.json file or take latest composer.json from laravel git repository https://github.com/laravel/laravel
  3. comment all third party packages service providers from app.php file (for version below Laravel 5.5)
  4. Now run composer update command in terminal
  5. Once Laravel update done. Now install all your third party packages again and enable third party service provider on app.php file.

update:
if you are trying to upgrade laravel version 5.5 and up skip step 3. also for laravel 5.5 and up no need to enable third party package service providers in step 5.

Happy updating laravel for your projects.

Composer error while trying to update Laravel from 5.4.36 to 5.5.0

You might want to try updated graham-campbell/htmlmin to ^8.0 or something in between 8 and 4.5.

The error line here states that it is the offending package:

    - graham-campbell/htmlmin v4.5.0 requires illuminate/support 5.1.*|5.2.*|5.3.*|5.4.* -> satisfiable by illuminate/support[v5.1.1, ..., v5.4.36].


Related Topics



Leave a reply



Submit