Download the PHP package masoudi/laravel-visitors without Composer
On this page you can find all versions of the php package masoudi/laravel-visitors. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download masoudi/laravel-visitors
More information about masoudi/laravel-visitors
Files in masoudi/laravel-visitors
Package laravel-visitors
Short Description Laravel package for tracking visitors
License MIT
Homepage https://github.com/rezamasoudi/laravel-visitors
Informations about the package laravel-visitors
Laravel Visitors
Laravel package to tracking visitors
Installation
Install package via Composer
Publish and migrate migration
Prepare model to working with visitors
Documentation
- Interact with all visitors
- Interact with model visitors
- Interact with A specific model visitors
- Visit A model
- Visit a request
- Visit by add middleware
- Retrieve visitors between two time
- Retrieve visitors by user id
- Retrieve visitors by platform name
- Retrieve visitors by browser name
- Retrieve visitors by IP start range
- Retrieve visitors by IP end range
- Retrieve visitors by referrers urls
- Retrieve visitors by visit urls
Interact with all visitors
The function visitors()
returns a query builder of all visitors so you can work with that as below
Interact with model visitors
Every model that has used InteractsWithVisitors
trait has a static method that returns a query builder specific to the
visitors of that model.
Interact with A specific model visitors
Every model that has used InteractsWithVisitors
trait has a public method that returns a query builder specific to the
visitors of that model.
Visit a model
Visit a request
Visit by add middleware
After add visitor
middleware to a route or group route when that route called , a visit will be created for that
routes
Retrieve visitors by user id
Retrieve visitors between two time
Retrieve visitors by platform name
Retrieve visitors by browser name
Retrieve visitors by IP start range
Retrieve visitors by IP end range
Retrieve visitors by referrers urls
Retrieve visitors by visit urls
LICENSE