Carbon: When is Laravel 5.8 supported?

Created on 26 Oct 2018  路  1Comment  路  Source: briannesbitt/Carbon

I have the following problem during the installation:
- laravel/framework v5.7.8 requires nesbot/carbon ^1.26.3 -> satisfiable by nesbot/carbon[1.26.3, 1.26.4, 1.27.0, 1.28.0, 1.29.0, 1.29.1, 1.29.2, 1.30.0, 1.31.0, 1.31.1, 1.32.0, 1.33.0, 1.34.0] but these conf lict with your requirements or minimum-stability.

Do you have any solution suggestions?

Most helpful comment

It's not up to us to support Laravel, we do not require it.

Laravel 5.8 supports Carbon ^1.26.3 || ^2.0 (so any version >= 1.26.3

But it's not the version of Laravel you use, as the message you get says, you use Laravel 5.7.8, this version requires Carbon ^1.26.3 (not ^2.0) but we provide an adapter to use Carbon 2 with Laravel 5.7 or below, just follow the instructions of the documentation:

https://carbon.nesbot.com/#withcomposer

>All comments

It's not up to us to support Laravel, we do not require it.

Laravel 5.8 supports Carbon ^1.26.3 || ^2.0 (so any version >= 1.26.3

But it's not the version of Laravel you use, as the message you get says, you use Laravel 5.7.8, this version requires Carbon ^1.26.3 (not ^2.0) but we provide an adapter to use Carbon 2 with Laravel 5.7 or below, just follow the instructions of the documentation:

https://carbon.nesbot.com/#withcomposer

Was this page helpful?
0 / 5 - 0 ratings