Counting
Everything in this section reads the views of one model, or of models you already have. For rankings across the whole application, see Rankings and recommendations.
Retrieving countsCount all or unique views of a model, narrow them to a period, compare with the period before and group them for a chart.
Counts of models you already haveFor a page of results you already loaded, forViewables() counts them all in one query instead of one per model.
Ordering and filteringOrder and filter Eloquent queries by view count with orderByViews() and whereViewsCount().
CachingAdd remember() with a lifetime to cache a count, a series or a ranking.
MilestonesNotify an author when their post passes 1,000 views, award a badge, or post to Slack.