awssat / laravel-visits
Laravel Redis visits counter for Eloquent models
Fund package maintenance!
awssat
Installs: 132 063
Dependents: 3
Suggesters: 0
Security: 0
Stars: 963
Watchers: 21
Forks: 89
Open Issues: 5
Requires
- php: ^8.0
- illuminate/support: ~5.5.0 || ~5.6.0 || ~5.7.0 || ~5.8.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
- jaybizzle/crawler-detect: ^1.2
- nesbot/carbon: ^2.0|^3.0
- spatie/laravel-referer: ^1.6
- torann/geoip: ^1.0|^3.0
Requires (Dev)
- doctrine/dbal: ^2.6|^3.0
- illuminate/support: ~5.5.0 || ~5.6.0 || ~5.7.0 || ~5.8.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0
- mockery/mockery: ^1.4 || ^1.6
- orchestra/testbench: ^3.5 || ^3.6 || ^3.7 || ^3.8 || ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0
- phpunit/phpunit: ^9.0 || ^10.1
- predis/predis: ^1.1|^2.0
Suggests
- ext-redis: Needed if you are using redis as engine data of laravel-visits
- illuminate/database: Needed if you are using database as engine data of laravel-visits
- predis/predis: Needed if you are using redis as data engine of laravel-visits
This package is auto-updated.
Last update: 2024-11-07 23:35:55 UTC
README
Please support our work here with donation so we can contuine improve this package once we raise fund we will contuine work on this package
Laravel Visits is a counter that can be attached to any model to track its visits with useful features like IP-protection and lists caching.
Install
To get started with Laravel Visits, use Composer to add the package to your project's dependencies (or read more about installlation on Installation page):
composer require awssat/laravel-visits
Docs & How-to use & configure
- Introduction
- Requirements
- Installation
- Quick start
- Increments and decrements
- Retrieve visits and stats
- Visits lists
- Clear and reset values
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Credits
Todo
- An export command to save visits of any periods to a table on the database.
Contributors
Code Contributors
This project exists thanks to all the people who contribute. [Contribute].
License
The MIT License (MIT). Please see License File for more information.