PHPackages                             robbrazier/piwik - 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. robbrazier/piwik

ActiveLibrary

robbrazier/piwik
================

Piwik Package for Laravel

4.2.0(3y ago)110166.0k—6.2%21[3 PRs](https://github.com/RobBrazier/Laravel_Piwik/pulls)1MITPHPPHP &gt;=7.3

Since Apr 22Pushed 1y ago7 watchersCompare

[ Source](https://github.com/RobBrazier/Laravel_Piwik)[ Packagist](https://packagist.org/packages/robbrazier/piwik)[ RSS](/packages/robbrazier-piwik/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (19)Used By (1)

Laravel-Piwik v4.2.0
====================

[](#laravel-piwik-v420)

[![GitHub Workflow Status](https://camo.githubusercontent.com/60d5ca7a00d2f57a8281db2ebb43bb011a0d891d486c21c50e308b4ed1b1a5d1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f526f624272617a6965722f4c61726176656c5f506977696b2f6275696c642e79616d6c3f7374796c653d666c61742d737175617265266272616e63683d6d6173746572)](https://github.com/RobBrazier/Laravel_Piwik/actions)[![Codacy grade](https://camo.githubusercontent.com/0e265241c9cae8377c9ed16b9ab99df29a6afc8f57a6022da15c1a7833eb3776/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f36653035633931613139396134666662623237323363656333356535373031393f7374796c653d666c61742d737175617265)](https://app.codacy.com/gh/RobBrazier/Laravel_Piwik)[![Codacy coverage](https://camo.githubusercontent.com/6494760615bb546c6ab5e94714861cd02bf7a22da9e3d9ac12f01809582c6f1f/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f636f7665726167652f36653035633931613139396134666662623237323363656333356535373031393f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/6494760615bb546c6ab5e94714861cd02bf7a22da9e3d9ac12f01809582c6f1f/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f636f7665726167652f36653035633931613139396134666662623237323363656333356535373031393f7374796c653d666c61742d737175617265)[![Packagist PHP Version Support](https://camo.githubusercontent.com/1302a4c88cdefe7a78189688d080380480cf1d00bd0ef52edd4bd8e5f2aa1aa8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f726f626272617a6965722f706977696b3f636f6c6f723d383839324246267374796c653d666c61742d737175617265)](https://php.net/)[![Packagist Version](https://camo.githubusercontent.com/e2fb5e7a0e7e092a928f46315af12acf94b310921e74f1fa3126b04134281b8e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f626272617a6965722f706977696b3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robbrazier/piwik)[![Packagist Downloads](https://camo.githubusercontent.com/74e0f3eba1f30c718fa99bcfdbab7be896c757a0fbb3db9abfa3bfd8cd1daedb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f626272617a6965722f706977696b3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/robbrazier/piwik)

An Interface to Piwik's Analytics API for Laravel (Composer Package)

This is the Laravel 5+ version of the Laravel-Piwik Bundle.

> Version 4.0.0 and onwards have dropped support for PHP 5.6, 7.0 and 7.1

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

[](#installation)

Add `RobBrazier/Piwik` to `composer.json`:

```
{
  "require": {
    "robbrazier/piwik": "~4.2"
  }
}
```

### For Laravel 5.4 and below

[](#for-laravel-54-and-below)

Add `'RobBrazier\Piwik\PiwikServiceProvider'` and `'Piwik' => 'RobBrazier\Piwik\Facades\Piwik'`to `app/config/app.php`

```
'providers' = [
    ...
    RobBrazier\Piwik\PiwikServiceProvider::class,
    ...
],

[...]

'aliases' = [
    ...
    'Piwik' => RobBrazier\Piwik\Facades\Piwik::class,
    ...
],
```

### For Laravel 5.5 and above, no app.php changes are required as the autoloader will pick up the required configuration

[](#for-laravel-55-and-above-no-appphp-changes-are-required-as-the-autoloader-will-pick-up-the-required-configuration)

Then move the config file out of the package, so that it doesn't get replaced when you update, by running:

```
php artisan vendor:publish --provider="RobBrazier\Piwik\PiwikServiceProvider" --tag="config"
```

Update your packages with `composer update` or install with `composer install`.

Then go to `config/piwik.php` and add your config settings such as server, apikey, siteid etc.

Documentation
-------------

[](#documentation)

Usage Documentation is located at [https://docs.robbrazier.com/Laravel\_Piwik/Usage.html](https://docs.robbrazier.com/Laravel_Piwik/Usage.html)API Documentation is located at [https://docs.robbrazier.com/Laravel\_Piwik/API\_Docs.html](https://docs.robbrazier.com/Laravel_Piwik/API_Docs.html)

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

[![Contributors](https://camo.githubusercontent.com/0bb2b63c641dc0c11492db39d5c9440648161e97cba4f7e04a7690405ba45c8d/68747470733a2f2f636f6e747269622e726f636b732f696d6167653f7265706f3d726f626272617a6965722f4c61726176656c5f506977696b)](https://github.com/RobBrazier/Laravel_Piwik/graphs/contributors)

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 91% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~232 days

Recently: every ~315 days

Total

15

Last Release

1158d ago

Major Versions

2.1.3 → 3.0.02017-05-19

3.3.1 → 4.0.02020-09-21

PHP version history (5 changes)2.0.1PHP &gt;=5.4.0

2.1.3PHP &gt;=5.5.0

3.0.0PHP &gt;=5.6.0

4.0.0PHP &gt;=7.2

4.1.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/e37bcbde83021d3a61c604dea780e656bf50765674968667dec8b5503c749f90?d=identicon)[robbrazier](/maintainers/robbrazier)

---

Top Contributors

[![RobBrazier](https://avatars.githubusercontent.com/u/2453018?v=4)](https://github.com/RobBrazier "RobBrazier (382 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (20 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (6 commits)")[![cammackmatthew](https://avatars.githubusercontent.com/u/10643740?v=4)](https://github.com/cammackmatthew "cammackmatthew (3 commits)")[![katzefudder](https://avatars.githubusercontent.com/u/195709?v=4)](https://github.com/katzefudder "katzefudder (3 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")[![swatty007](https://avatars.githubusercontent.com/u/38767638?v=4)](https://github.com/swatty007 "swatty007 (1 commits)")[![elvendor](https://avatars.githubusercontent.com/u/1143399?v=4)](https://github.com/elvendor "elvendor (1 commits)")[![Leechael](https://avatars.githubusercontent.com/u/106123?v=4)](https://github.com/Leechael "Leechael (1 commits)")[![nickurt](https://avatars.githubusercontent.com/u/5840084?v=4)](https://github.com/nickurt "nickurt (1 commits)")

---

Tags

analyticslaravelmatomophppiwikpiwik-analytics-apilaravelpiwik

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/robbrazier-piwik/health.svg)

```
[![Health](https://phpackages.com/badges/robbrazier-piwik/health.svg)](https://phpackages.com/packages/robbrazier-piwik)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

86910.0M83](/packages/spatie-laravel-health)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
