Download the PHP package ondrej-vrto/laravel-visitors without Composer

On this page you can find all versions of the php package ondrej-vrto/laravel-visitors. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-visitors

A Laravel package that allows you to track Eloquent model traffic.

Latest Version on Packagist Tests Total Downloads

Prologue

This tool enables basic monitoring of user activity without the use of cookies or consent according to the European GDPR guidelines. It creates overall statistics, which take a long time to generate, in the background, and therefore displaying results even in large volumes of data is fast.

Installation

You can install the package via composer:

Publish

Basic usage visit counter

Apply contract "Visitable" and trait "InteractsWithVisits" to model

Some in frontend controler add visit counter.

Basic usage display statistics

In dashboard

Or list of posts in admin controller.

Or in detail post in admin controller.

Customization visit counter

Increment methods

Options

Manually added data.

Pruning models

Note: Pruning run automaticaly before start generator statistics and trafic

Generate traffic data

Note: Queue service is required

Scheduler is implement in package. If is set schedule_generate_traffic_data_automaticaly to true nothing else needs to be set up.

View traffic data

With preety graph in SVG, count of language and operating system statistics.

Aggregated data from several models

Note: Return only one record

Trafic for a one specific model

Note: Return only one record

Other options similar to statistics in the previous chapter

Lists of top visit models

Note: Return Collection of model instances Traffic

Other options

Relationship scope for model is posible

Join all traffic data to Visitable model

Get the status and additional data about the latest traffic generation process

Displays the parameters of the last run of the generator and the difference from the current data

Language

Enum classes 'OperatingSystem' and 'VisitorCategory' are translatable.

Configuration package

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

Alternatives

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-visitors with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2
illuminate/contracts Version ^9.0
illuminate/support Version ^9.0
jaybizzle/crawler-detect Version ^1.2
markbaker/enumhelper Version 1.0.2
ondrej-vrto/php-linechart Version 1.1.0
spatie/laravel-package-tools Version ^1.13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ondrej-vrto/laravel-visitors contains the following files

Loading the files please wait ....