{"id":15045092,"url":"https://github.com/nucleos/nucleosmatomobundle","last_synced_at":"2026-05-02T20:01:09.100Z","repository":{"id":37891980,"uuid":"135456107","full_name":"nucleos/NucleosMatomoBundle","owner":"nucleos","description":"📊 This bundle provides a block service for using Matomo inside inside symfony applications.","archived":false,"fork":false,"pushed_at":"2026-04-03T21:22:34.000Z","size":3687,"stargazers_count":4,"open_issues_count":12,"forks_count":2,"subscribers_count":1,"default_branch":"4.4.x","last_synced_at":"2026-04-03T23:20:30.051Z","etag":null,"topics":["bundle","hacktoberfest","matomo","php","piwik","sonata","sonata-block","statistic","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"https://nucleos.rocks","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nucleos.png","metadata":{"funding":{"github":"core23","open_collective":"core23","ko_fi":"core23","custom":"https://donate.core23.de"},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-05-30T14:38:13.000Z","updated_at":"2025-11-21T06:52:00.000Z","dependencies_parsed_at":"2024-05-19T11:43:22.270Z","dependency_job_id":"2eb7d1bb-68fe-4268-9f7e-e66806edabf7","html_url":"https://github.com/nucleos/NucleosMatomoBundle","commit_stats":{"total_commits":931,"total_committers":6,"mean_commits":"155.16666666666666","dds":0.3168635875402793,"last_synced_commit":"4ea088c1f3ab5bfd81be1eb137e3ef53ca6f9a02"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/nucleos/NucleosMatomoBundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosMatomoBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosMatomoBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosMatomoBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosMatomoBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nucleos","download_url":"https://codeload.github.com/nucleos/NucleosMatomoBundle/tar.gz/refs/heads/4.4.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nucleos%2FNucleosMatomoBundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32547651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T19:18:06.202Z","status":"ssl_error","status_checked_at":"2026-05-02T19:16:21.335Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundle","hacktoberfest","matomo","php","piwik","sonata","sonata-block","statistic","symfony","symfony-bundle"],"created_at":"2024-09-24T20:51:26.864Z","updated_at":"2026-05-02T20:01:09.067Z","avatar_url":"https://github.com/nucleos.png","language":"PHP","funding_links":["https://github.com/sponsors/core23","https://opencollective.com/core23","https://ko-fi.com/core23","https://donate.core23.de"],"categories":[],"sub_categories":[],"readme":"NucleosMatomoBundle\n===================\n[![Latest Stable Version](https://poser.pugx.org/nucleos/matomo-bundle/v/stable)](https://packagist.org/packages/nucleos/matomo-bundle)\n[![Latest Unstable Version](https://poser.pugx.org/nucleos/matomo-bundle/v/unstable)](https://packagist.org/packages/nucleos/matomo-bundle)\n[![License](https://poser.pugx.org/nucleos/matomo-bundle/license)](https://packagist.org/packages/nucleos/matomo-bundle)\n\n[![Total Downloads](https://poser.pugx.org/nucleos/matomo-bundle/downloads)](https://packagist.org/packages/nucleos/matomo-bundle)\n[![Monthly Downloads](https://poser.pugx.org/nucleos/matomo-bundle/d/monthly)](https://packagist.org/packages/nucleos/matomo-bundle)\n[![Daily Downloads](https://poser.pugx.org/nucleos/matomo-bundle/d/daily)](https://packagist.org/packages/nucleos/matomo-bundle)\n\n[![Continuous Integration](https://github.com/nucleos/NucleosMatomoBundle/actions/workflows/continuous-integration.yml/badge.svg?event=push)](https://github.com/nucleos/NucleosMatomoBundle/actions?query=workflow%3A\"Continuous+Integration\"+event%3Apush)\n[![Code Coverage](https://codecov.io/gh/nucleos/NucleosMatomoBundle/graph/badge.svg)](https://codecov.io/gh/nucleos/NucleosMatomoBundle)\n\nThis bundle provides a wrapper for using the [matomo] (Piwik) statistic inside the symfony sonata-project.\n\n## Installation\n\nOpen a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:\n\n```\ncomposer require nucleos/matomo-bundle\n# To define a default http client and message factory\ncomposer require symfony/http-client nyholm/psr7\n```\n\n### Enable the Bundle\n\nThen, enable the bundle by adding it to the list of registered bundles in `config/bundles.php` file of your project:\n\n```php\n// config/bundles.php\n\nreturn [\n    // ...\n    Nucleos\\MatomoBundle\\NucleosMatomoBundle::class =\u003e ['all' =\u003e true],\n];\n```\n\n### Assets\n\nIt is recommended to use [webpack](https://webpack.js.org/) / [webpack-encore](https://github.com/symfony/webpack-encore)\nto include the `MatomoTable.js` file in your page. These file is located in the `assets` folder.\n\nYou can use [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/) to load the library:\n\n## Usage\n\nDefine a http client in your configuration.\n\n```yaml\n# config/packages/nucleos_matomo.yaml\n\nnucleos_matomo:\n    http:\n        client: 'httplug.client'\n        message_factory: 'nyholm.psr7.psr17_factory'\n\n```\n\n### Render tracking code\n\n```twig\n{{ sonata_block_render({ 'type': 'nucleos_matomo.block.tracker' }, {\n    'host': 'http://matomo.example.com',\n    'site': 1\n}) }}\n```\n\n### Render statistic graph\n\n```twig\n{{ sonata_block_render({ 'type': 'nucleos_matomo.block.statistic' }, {\n    'host': 'http://matomo.example.com',\n    'site': 1,\n    'token': 'MATOMO_API_TOKEN'\n}) }}\n```\n\n## License\n\nThis bundle is under the [MIT license](LICENSE.md).\n\n[matomo]: https://matomo.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleos%2Fnucleosmatomobundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnucleos%2Fnucleosmatomobundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnucleos%2Fnucleosmatomobundle/lists"}