PHPackages                             pranavsy/visitcounter - 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. [Caching](/categories/caching)
4. /
5. pranavsy/visitcounter

ActiveLibrary[Caching](/categories/caching)

pranavsy/visitcounter
=====================

Laravel visitor counter with zero config, cache-based counter

v1.0.0(11mo ago)00MITPHPPHP &gt;=8.0

Since Sep 15Pushed 11mo agoCompare

[ Source](https://github.com/pranavyangalwar/visitcounter)[ Packagist](https://packagist.org/packages/pranavsy/visitcounter)[ RSS](/packages/pranavsy-visitcounter/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

🚀 VisitCounter

Ultra-lightweight Laravel visitor counter by Pranavsy — track unique visitors effortlessly! 🌍

===============================================================================

⚡ Quick &amp; Easy Installation:

1. Install via Composer:
    💻 composer require pranavsy/visitcounter
2. No migrations or artisan commands needed! ✅

===============================================================================

🎯 Usage:

- Automatically counts visitors on every web request without any setup.
- Display visitor count in Blade templates with:

    Visitor Count: @visitcount 👁️
- Or in PHP code:

    echo \\Pranavsy\\VisitCounter\\VisitCounter::count(); 👨‍💻

===============================================================================

✨ Why VisitCounter?

- Zero config, zero hassle — works out of the box 🛠️
- No database or migrations — uses Laravel cache 🗄️
- Lightning fast and highly efficient ⚡
- Seamless integration via middleware 🔗
- Robust IP-based unique visitor counting 🌐

===============================================================================

Made for Laravel developers who want hassle-free, reliable visitor analytics without the bloat. 💡

===============================================================================

📄 License: MIT

###  Health Score

26

—

LowBetter than 40% of packages

Maintenance52

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

336d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29382609?v=4)[Pranav Shriram Yengalwar](/maintainers/pranavyangalwar)[@pranavyangalwar](https://github.com/pranavyangalwar)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/pranavsy-visitcounter/health.svg)

```
[![Health](https://phpackages.com/badges/pranavsy-visitcounter/health.svg)](https://phpackages.com/packages/pranavsy-visitcounter)
```

###  Alternatives

[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k161.4k2](/packages/mike-bronner-laravel-model-caching)[illuminate/cache

The Illuminate Cache package.

12937.6M2.0k](/packages/illuminate-cache)[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)

PHPackages © 2026

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