Carbon\Carbon::now()->daysInMonth 

Read more of this post