carbon end month date code example
Example: get start of month end of month carbon
$now = Carbon::now();
$startOfMonth = $now->startOfMonth('Y-m-d');
$endOfMonth = $now->endOfMonth()->format('Y-m-d');
$now = Carbon::now();
$startOfMonth = $now->startOfMonth('Y-m-d');
$endOfMonth = $now->endOfMonth()->format('Y-m-d');