PHPackages                             sevenspan/laravel-matomo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sevenspan/laravel-matomo

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sevenspan/laravel-matomo
========================

It provide laravel matomo support.

v1.3.0(2y ago)21.3k[1 PRs](https://github.com/7span/laravel-matomo/pulls)MITPHPPHP ^7.2.5||^8.0||^8.1||^8.2

Since Aug 30Pushed 2y ago2 watchersCompare

[ Source](https://github.com/7span/laravel-matomo)[ Packagist](https://packagist.org/packages/sevenspan/laravel-matomo)[ Docs](https://github.com/7span/laravel-matomo)[ RSS](/packages/sevenspan-laravel-matomo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (10)Used By (0)

Laravel Matomo
==============

[](#laravel-matomo)

About
-----

[](#about)

The `7span/laravel-matomo` laravel package is connect your project with matomo analytics tool and by using basic api of matomo gives you the json data for your dashboard.

Usages
------

[](#usages)

- Create site in matomo.
- Remove site in matomo.
- Get visitor analytic data using site id.
- Get paged analytic data using site id.
- Get product page visit count analytic data using site id.
- Get country wise analytic data using site id.
- Get browser wise analytic data using site id.

Installation
------------

[](#installation)

Via Composer

Run `composer require 7span/laravel-matomo` in your terminal to install the package or require `7span/laravel-matomo` package inyour composer json and install the package

Publish the config file

Run publish command to copy the matomo config file in your project.

```
php artisan vendor:publish --provider="SevenSpan\Matomo\Providers\MatomoServiceProvider" --tag="config"

```

Add your matomo configurations in the config file

```
