DEV Community

Cover image for Model data tracker in Laravel
Reza Amini
Reza Amini

Posted on

Model data tracker in Laravel

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)