karbon ke datetime mysql

// Use ->toDateTimeString() on  your carbon instance.

Carbon::create("2021-07-11")->toDateTimeString();  // "2021-07-11 00:00:00"
SomeKindOfKiwi