joniand/eloquent-viewable
Laravel package for tracking views on Eloquent models. Record unique and non-unique views, attach metadata like IP and user agent, and query view counts and history through a simple, expressive API. Supports caching, custom view models, and flexible storage.
joniand/eloquent-viewable is a Laravel package for tracking and analyzing views of your Eloquent models. Attach the provided trait to any model and easily record each view along with details such as the visitor's IP address, user agent, and session, then query total or unique view counts and date-based statistics directly through a clean, expressive API.
How can I help you explore Laravel packages today?