Articles::whereYear('created_at', date('Y'))->get();More information: https://stackoverflow.com/questions/41330669/how-to-get-all-records-for-current-year