Framework: Carbon 2 needed

Created on 30 Jan 2019  路  4Comments  路  Source: laravel/framework

  • Laravel Version: 5.7.24
  • PHP Version: 7.2
  • Database Driver & Version: MySQL

Description:

Help, Carbon 2 needed.

Using version ^2.10 for nesbot/carbon

Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laravel/framework v5.7.24 requires nesbot/carbon ^1.26.3....

Installation failed, reverting ./composer.json to its original content.

Steps To Reproduce:

$composer require nesbot/carbon

Most helpful comment

This can't be changed at the framework level on 5.7. There are several discussions in the issues and PRs, concerning this, if you'd like more information.

All 4 comments

Laravel 5.8 will support Carbon 2 (#25320). Why do you need it now?

This can't be changed at the framework level on 5.7. There are several discussions in the issues and PRs, concerning this, if you'd like more information.

Yeh, Laravel 5.8 supports Carbon 2.

Thank you.

Was this page helpful?
0 / 5 - 0 ratings