Answers for "You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it"

1

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.

#Add following package in composer.json
{
    "require": {
        "nesbot/carbon": "2.42.0 as 1.26.3",
        "kylekatarnls/laravel-carbon-2": "^1.0.0"
    }
}
#Then 
composer update
Posted by: Guest on March-04-2021

Code answers related to "You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it"

Browse Popular Code Answers by Language