Download the PHP package stounhandj/laravel-traffic-metrics without Composer
On this page you can find all versions of the php package stounhandj/laravel-traffic-metrics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-traffic-metrics
HtmlDom-Laravel
A package for Laravel 6, 7, 8 to metrics unique page views using kafka
Installation
Or
Setup
- Use following:
According to the standard, a unique visit is considered to be a user's visit to the page once every 1 minute. This can be changed in the configuration.
-
Run migrations
- Set up a connection to kafka: In config/kafka.php setup brokers. More information here
-
Add provider in config/app.php:
- Add Middleware in Kernel.php:
Usage
-
Use Middleware:
-
Put the handler on permanent execution:
- Getting metrics
All versions of laravel-traffic-metrics with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
mateusjunges/laravel-kafka Version ^1.7
laravel/framework Version ^7.0|^8.0|^9.0
mateusjunges/laravel-kafka Version ^1.7
laravel/framework Version ^7.0|^8.0|^9.0
The package stounhandj/laravel-traffic-metrics contains the following files
Loading the files please wait ....