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

Abandoned → [core23/matomo-bundle](/?search=core23%2Fmatomo-bundle)ArchivedSymfony-bundle[Utility &amp; Helpers](/categories/utility)

core23/piwik-bundle
===================

This bundle provides a block service for using Matomo/Piwik inside the sonata-project.

2.0.0(8y ago)0691MITPHPPHP ^7.1

Since Nov 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/core23/PiwikBundle)[ Packagist](https://packagist.org/packages/core23/piwik-bundle)[ Docs](https://core23.de)[ RSS](/packages/core23-piwik-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (16)Versions (8)Used By (0)

PiwikBundle
===========

[](#piwikbundle)

⚠️ This package is not maintained anymore. ⚠️

Use the [MatomoBundle](https://github.com/core23/MatomoBundle) instead.

[![Latest Stable Version](https://camo.githubusercontent.com/554b242ca63c0c0753ca60ac6120f7d3dc2b4935f6991c2c4f71d6bad526b403/68747470733a2f2f706f7365722e707567782e6f72672f636f726532332f706977696b2d62756e646c652f762f737461626c65)](https://packagist.org/packages/core23/piwik-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/785bf7ed9cd541edffcbb25262681aee4376eb3914eae76432fce092aed6c895/68747470733a2f2f706f7365722e707567782e6f72672f636f726532332f706977696b2d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/core23/piwik-bundle)[![License](https://camo.githubusercontent.com/35bbd75b1c216cadde95972bb9024fb9b8ad85bf31e2deb3e917ca475a5903cb/68747470733a2f2f706f7365722e707567782e6f72672f636f726532332f706977696b2d62756e646c652f6c6963656e7365)](https://packagist.org/packages/core23/piwik-bundle)

[![Total Downloads](https://camo.githubusercontent.com/4bd23e77aa73404caba4aa9207d0bea72abf8025b0234378d296c8091a7609ae/68747470733a2f2f706f7365722e707567782e6f72672f636f726532332f706977696b2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/core23/piwik-bundle)[![Monthly Downloads](https://camo.githubusercontent.com/68bb40bdda750e5fd91d427db2407f847dbfa99300d243e6be4ed3f109eef118/68747470733a2f2f706f7365722e707567782e6f72672f636f726532332f706977696b2d62756e646c652f642f6d6f6e74686c79)](https://packagist.org/packages/core23/piwik-bundle)[![Daily Downloads](https://camo.githubusercontent.com/f05bb051fc5d0decaff37b4a78c78e0980745c70c8be83cf898a1bc43f601872/68747470733a2f2f706f7365722e707567782e6f72672f636f726532332f706977696b2d62756e646c652f642f6461696c79)](https://packagist.org/packages/core23/piwik-bundle)

[![Build Status](https://camo.githubusercontent.com/f33aa636d5df2978fc0b3d1852d09889c346d9c7528aa3f46194512b5a95683b/68747470733a2f2f7472617669732d63692e6f72672f636f726532332f506977696b42756e646c652e737667)](https://travis-ci.org/core23/PiwikBundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/96359b40e97980450bb29bb993c2c66cc637261109e81b4ac654a0fc79f61c7c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f726532332f506977696b42756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/core23/PiwikBundle)[![Code Climate](https://camo.githubusercontent.com/43f42b9330c00bfa93deffbee154517655a10d381435a52e56b9dab34acd879f/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f636f726532332f506977696b42756e646c652f6261646765732f6770612e737667)](https://codeclimate.com/github/core23/PiwikBundle)[![Coverage Status](https://camo.githubusercontent.com/e833bbd6829c2f3e84ed368e955995d769defda1cb93f5ae43688a0deac09d13/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f636f726532332f506977696b42756e646c652f62616467652e737667)](https://coveralls.io/r/core23/PiwikBundle)

[![Donate to this project using Flattr](https://camo.githubusercontent.com/d79e412f78041f87e203449041ad81848a8405cf0f3c622c51e3bad0c2a4b599/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f666c617474722d646f6e6174652d79656c6c6f772e737667)](https://flattr.com/profile/core23)[![Donate to this project using PayPal](https://camo.githubusercontent.com/0d6e4d8b50b5983a58205941b1a581b1305903393b7a39da574e3f60af3c7f5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652d79656c6c6f772e737667)](https://paypal.me/gripp)

This bundle provides a wrapper for using the [matomo](https://matomo.org) (Piwik) statistic inside the symfony sonata-project.

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

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require core23/piwik-bundle
composer require php-http/guzzle6-adapter # if you want to use Guzzle

```

### Enable the Bundle

[](#enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in `bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Http\HttplugBundle\HttplugBundle::class     => ['all' => true],
    Core23\PiwikBundle\Core23PiwikBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

Define a [HTTPlug](http://docs.php-http.org/en/latest/index.html) client in your configuration.

```
# config/packages/httplug.yaml

httplug:
    classes:
        client: Http\Adapter\Guzzle6\Client
        message_factory: Http\Message\MessageFactory\GuzzleMessageFactory
        uri_factory: Http\Message\UriFactory\GuzzleUriFactory
        stream_factory: Http\Message\StreamFactory\GuzzleStreamFactory
```

```
{# template.twig #}

{{ sonata_block_render({ 'type': 'core23_piwik.block.statistic' }, {
    'host': 'http://matomo.example.com',
    'site': 1,
    'token': 'MATOMO_API_TOKEN'
}) }}
```

License
-------

[](#license)

This bundle is under the [MIT license](LICENSE.md).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~113 days

Recently: every ~158 days

Total

7

Last Release

3168d ago

Major Versions

1.2.0 → 2.0.02017-09-14

PHP version history (3 changes)1.1.0PHP ^5.6 || ^7.0

1.2.0PHP ^7.0

2.0.0PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/46179d0f1a863a1a71c634a413d857f8428ad9a8273cd065ba4f0e864730dde9?d=identicon)[core23](/maintainers/core23)

---

Top Contributors

[![core23](https://avatars.githubusercontent.com/u/3440437?v=4)](https://github.com/core23 "core23 (221 commits)")

---

Tags

bundlehttplugmatomophppiwiksonatasymfonysymfony-bundlesymfonybundlepiwikwidgetblocksonatastatistic

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[sonata-project/admin-bundle

The missing Symfony Admin Generator

2.1k19.0M299](/packages/sonata-project-admin-bundle)[winzou/state-machine-bundle

Bundle for the very lightweight yet powerful PHP state machine

34010.4M15](/packages/winzou-state-machine-bundle)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)

PHPackages © 2026

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