quantumh / laravel-visits
Track visits on a Laravel application
v2.0.17
2024-05-01 14:24 UTC
Requires
- php: ^8.0
- geoip2/geoip2: ~2.0
- laravel/framework: ^8.0|^9.0|^10.0
- shetabit/visitor: ^3.1|^4.0
- snowplow/referer-parser: ^0.2.0
- stevebauman/location: ^6.4
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-05-31 14:39:31 UTC
README
Register all visits on your Laravel app
Installation
You can install the package via composer:
composer require quantumh/laravel-visits
The package will automatically register itself.
You can publish and run the migrations with:
php artisan vendor:publish --tag="quantum-visits-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="quantum-visits-config"
Add this key on your phpunit.xml to avoid make the test failing due to the visits.
<env name="TRACKER_VISITS_ENABLED" value="false"/>
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- [Carlos Rodriguez]
- [David Vazquez]
License
The MIT License (MIT). Please see License File for more information.