Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Eloquent Viewable

Eloquent Viewable Laravel Package

cyrildewit/eloquent-viewable

Track page views on Eloquent models without third-party analytics. Record and count total or unique views, filter by date periods, order models by views, apply cooldowns, and optionally ignore crawlers. Stores each view as a DB record for flexible querying.

View on GitHub
Deep Wiki
Context7

Eloquent Viewable lets you track and query page views for your Eloquent models without relying on third-party analytics. It records each view as its own database row, enabling precise reporting (e.g., counts for a custom date period, unique views, or per-model totals)—with the tradeoff that high-traffic apps can grow the table quickly.

Use a fluent API to record views, apply cooldowns, and retrieve counts or rankings with ease.

  • Associate views with any Eloquent model
  • Count total, unique, and period-based views
  • Record views with an optional cooldown window
  • Order models by views and query by model type
  • Built-in caching helpers and crawler/ignore support
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4