Create new project when using the flowing command:
- composer create-project laravel/lumen:"5.5.*" lumen55
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.
Run - > composer update
Run the Path -> ./vendor/bin/upgrade-carbon
- Fonte: laravel/lumen-framework#927