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
- Take backup of your composer.json file
- remove all third party packages from composer.json file or take latest composer.json from laravel git repository https://github.com/laravel/laravel
- comment all third party packages service providers from app.php file (for version below Laravel 5.5)
- Now run composer update command in terminal
- Once Laravel update done. Now install all your third party packages again and enable third party service provider on app.php file.
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
PHP Readfile() and Large Files
Laravel 5 Auth Post Submit - Tokenmismatchexception in Verifycsrftoken.PHP Line 46
PHP to Easyphp MySQL Server 1 Second Connection Delay
Laravel League/Flysystem Getting File Url with Aws S3
Print a Webpage to PDF Document Using PHP
Call-Time Pass-By-Reference Has Been Removed
PHP Flush() Not Working in Chrome
PHP Datetime::Createfromformat Doesn't Parse Iso 8601 Date Time
Programmatically Create Image from Web-Page or a Single Div
PHP Search Array Key and Get Value
Php: Fastest Way to Check for Invalid Characters (All But A-Z, A-Z, 0-9, #, -, ., $)
How to Remove Text Between Tags in PHP
PHP Explode Array Then Loop Through Values and Output to Variable
Check and Return Duplicates Array PHP
Can a PHP File Name (Or a Dir in Its Full Path) Have Utf-8 Characters
PHP Dom Textcontent VS Nodevalue
Flip (Transpose) the Rows and Columns of a 2D Array Without Changing the Number of Columns
What Is an Appropriate Content-Type Header for JavaScript Files