PHPackages                             bretrzaun/matomo-bundle - 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. bretrzaun/matomo-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

bretrzaun/matomo-bundle
=======================

Symfony Bundle that adds a twig-function for the Matomo tracking code.

2.6.0(6y ago)0651MITPHPPHP &gt;=7.1

Since Sep 11Pushed 2y agoCompare

[ Source](https://github.com/bretrzaun/matomo-bundle)[ Packagist](https://packagist.org/packages/bretrzaun/matomo-bundle)[ RSS](/packages/bretrzaun-matomo-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (18)Used By (0)

[![webfactory Logo](https://camo.githubusercontent.com/515f5fe6cea74874145ff73bce5340a6341def3341d39c6598b346a87243e5e6/687474703a2f2f7777772e776562666163746f72792e64652f62756e646c65732f776562666163746f7279747769676c61796f75742f696d672f6c6f676f2e706e67)](https://camo.githubusercontent.com/515f5fe6cea74874145ff73bce5340a6341def3341d39c6598b346a87243e5e6/687474703a2f2f7777772e776562666163746f72792e64652f62756e646c65732f776562666163746f7279747769676c61796f75742f696d672f6c6f676f2e706e67) WebfactoryPiwikBundle
==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#-webfactorypiwikbundle)

[![Run Tests](https://github.com/bretrzaun/matomo-bundle/actions/workflows/tests.yml/badge.svg)](https://github.com/bretrzaun/matomo-bundle/actions/workflows/tests.yml)

A Symfony Bundle that helps you to use the Matomo (formerly known as Piwik) Open Analytics Platform with your project.

It contains a Twig function that can insert the tracking code into your website. Plus, you can turn it off with a simple configuration switch so you don't track your dev environment.

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

[](#installation)

```
composer require webfactory/piwik-bundle

```

And enable the bundle in `app/AppKernel.php`:

```
