karbon mysql d m y ke y-m-d

$object->date = \Carbon::createFromFormat('d-m-y', $regdate)->format('Y-m-d');
Shadow