7 months ago

Carbon\Carbon vs Illuminate\Support\Carbon?

Posted 7 months ago by ryanmortier

if I'm using Carbon in my web app, should I:

a) implicitly use Carbon\Carbon as the laravel framework already includes it as a dependency or

b) use Illuminate\Support\Carbon or

c) explicitly composer require nesbot\carbon and use Carbon\Carbon?

a and b breakdown if Laravel ever removes it as a dependency

Please sign in or create an account to participate in this conversation.