Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
upgrade Carbon1 to Carbon2

Atualização do Carbon

Create new project when using the flowing command:

  • composer create-project laravel/lumen:"5.5.*" lumen55

composer promot msssage is as flows:

Carbon 1 is deprecated, see how to migrate to Carbon 2.
    You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.

So we need upgrade illuminate/support package, or our Laravel teams need to upgrade Carbon package to Carbon2 that is need by illuminate/support.

Run - > composer update
Run the Path -> ./vendor/bin/upgrade-carbon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.