pranavsy / visitcounter
Laravel visitor counter with zero config, cache-based counter
Requires
- php: >=8.0
- illuminate/support: ^10.0
README
🚀 VisitCounter
Ultra-lightweight Laravel visitor counter by Pranavsy — track unique visitors effortlessly! 🌍
===============================================================================
⚡ Quick & Easy Installation:
-
Install via Composer:
💻 composer require pranavsy/visitcounter -
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