Carbon: Get first and last day of a month

$now = Carbon::now();
$from = Carbon::createFromDate($now->year, $now->month, 1);
$to = Carbon::createFromDate($now->year, $now->month, $now->daysInMonth);

Reference: