2017 © Pedro Peláez
 

symfony-bundle piwik-bundle

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

image

core23/piwik-bundle

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

  • Wednesday, May 30, 2018
  • by core23
  • Repository
  • 1 Watchers
  • 0 Stars
  • 65 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 8 Versions
  • 10 % Grown

The README.md

PiwikBundle

⚠️ This package is not maintained anymore. ⚠️, (*1)

Use the MatomoBundle instead., (*2)

Latest Stable Version Latest Unstable Version License, (*3)

Total Downloads Monthly Downloads Daily Downloads, (*4)

Build Status Scrutinizer Code Quality Code Climate Coverage Status, (*5)

Donate to this project using Flattr Donate to this project using PayPal, (*6)

This bundle provides a wrapper for using the matomo (Piwik) statistic inside the symfony sonata-project., (*7)

Installation

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

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

Enable the Bundle

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

// config/bundles.php

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

Usage

Define a HTTPlug client in your configuration., (*10)

# 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

This bundle is under the MIT license., (*11)

The Versions

27/06 2016

1.1.0

1.1.0.0 https://core23.de

This bundle provides a block service for using piwik inside the sonata-project.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Gripp

bundle symfony widget sonata block piwik statistic

15/01 2016

1.0.3

1.0.3.0 https://core23.de

This bundle provides a block service for using piwik inside the sonata-project.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Gripp

bundle symfony widget sonata block piwik statistic

20/12 2015

1.0.2

1.0.2.0 https://core23.de

This bundle provides a block service for using piwik inside the sonata-project.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Gripp

bundle symfony widget sonata block piwik statistic

13/11 2015

1.0.1

1.0.1.0 https://core23.de

This bundle provides a block service for using piwik inside the sonata-project.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Gripp

bundle symfony widget sonata block piwik statistic

01/11 2015

1.0.0

1.0.0.0 https://core23.de

This bundle provides a block service for using piwik inside the sonata-project.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Christian Gripp

bundle symfony widget sonata block piwik statistic