Lumen-framework: upgrade Carbon1 to Carbon2

Created on 4 Jun 2019  路  8Comments  路  Source: laravel/lumen-framework

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.
https://carbon.nesbot.com/docs/#api-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.

Most helpful comment

Run - > composer update
Run the Path -> ./vendor/bin/upgrade-carbon

All 8 comments

Hey there,

Unfortunately we don't support this version anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? We'll help you out and re-open this issue if so.

Thanks!

Same message when using lumen 5.7

For some reason in my project,after upgrade to lastest version of lumen-framework,we need more unit-test for new version of framework,I will try your suggestion.Thank you very much!

Any fix for this / workaround?

Any update on this?

Please upgrade to the latest Lumen release and Carbon 2. Carbon 1 isn't supported anymore.

Run - > composer update
Run the Path -> ./vendor/bin/upgrade-carbon

Thanks for Help

Was this page helpful?
0 / 5 - 0 ratings