Comments (1)
for tracking users visits you need to apply this code
visits($model)->by($user)->increment();
visits($model)->by($user)->count();
unfortunately we don't have a method for getting a list of the users who have visited the post .
from laravel-visits.
Related Issues (20)
- getVisitorReferer() always get no value~ HOT 9
- geoip 1.0.x-dev is preventing install on Laravel 8 HOT 1
- redis queued to database store HOT 2
- Syntax error or access violation on Migration HOT 1
- Trying to access array offset on value of type null HOT 1
- Get visits of Item for specific date range?
- Add Multiple Tags
- all period show the same result HOT 2
- Get today visitors count on the whole app HOT 1
- Remove
- Empty array for countries and languages HOT 1
- Compatibiltiy with mongodb HOT 2
- How can I delete that redis record after deleting the post? HOT 1
- There is a problem with writing the data.
- Periods options only works a few of them HOT 4
- Compatibility issue with Laravel 10 HOT 1
- Redis server went away (php_network_getaddresses: getaddrinfo for cache failed) HOT 1
- Target class [eloquent] does not exist. HOT 3
- How to store redis data in mysql HOT 1
- Call to a member function setPrefix() on null HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-visits.