PHPackages                             cthutqc/view-count - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cthutqc/view-count

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cthutqc/view-count
==================

View counter for laravel models

02PHP

Since Dec 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/cthutqc/view-count)[ Packagist](https://packagist.org/packages/cthutqc/view-count)[ RSS](/packages/cthutqc-view-count/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

View count for laravel models. Use ViewCountable trait in models. Then add $model-&gt;views() in your controller.

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/882e3673715666bf44e842366dc5dbc0abe4d462b3cad02bcae5abee37d15bbf?d=identicon)[cthutqc](/maintainers/cthutqc)

---

Top Contributors

[![cthutqc](https://avatars.githubusercontent.com/u/22428100?v=4)](https://github.com/cthutqc "cthutqc (4 commits)")

### Embed Badge

![Health badge](/badges/cthutqc-view-count/health.svg)

```
[![Health](https://phpackages.com/badges/cthutqc-view-count/health.svg)](https://phpackages.com/packages/cthutqc-view-count)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
