DEV Community

loading...
Cover image for Model data tracker in Laravel

Model data tracker in Laravel

rezaamini profile image Reza Amini ・1 min read

Have you ever tried to track your model data and see the complete data of every visit by clients?

Have you ever wanted to know who sees your post and where they live?

With this package, you will be able to track model data and see how many views your posts and data have.

For example, you have a blog and you want to see who has seen your posts.

You just need to use Trackable trait in your model and say $post->track();

Now you are able to track your post and see who saw it with complete information like County, IP, Reefer page, and...

You can see the package which is called laravel-tracker in Github.

Repo : https://github.com/rezaamini-ir/laravel-tracker

Discussion (0)

pic
Editor guide