core23/matomo-bundle
Symfony bundle that wraps Matomo (Piwik) analytics for Sonata projects. Provides services and Twig helpers to render tracking code and access Matomo statistics via a configurable HTTP client (HTTPlug/Symfony HttpClient) and PSR-7 message factory.
assertInternalType → assertIs*) may break existing tests.KernelEvents constants) could introduce edge cases if leveraged in custom listeners.globals@16 and symfony/phpunit-bridge@8 introduce no breaking changes to core functionality but may impact:
matomo.js compatibility) due to dependency updates..env parsing).nucleos_matomo.yaml, but Symfony 8’s autoconfigure system may still require adjustments:
%env(MATOMO_TOKEN)% vs. Symfony 8’s %env(resolve:MATOMO_TOKEN)%).BlockService updates may necessitate:
autoconfigure: true defaults may break custom services or third-party integrations.KernelEvents or dispatcher behavior (e.g., new constants or listener signatures).HttpClient methods (e.g., v6 → v8).assertEquals → assertSame).TestCase inheritance patterns or custom test bootstrapping.matomo.js version conflicts).TestCase bootstrapping or assertion changes)..env parsing).matomo.js)?
TestCase inheritance).BlockService and event system changes may require updates.self::bootKernel() or deprecated assertions).HttpClient changes may affect API call reliability or error handling.globals@16 may alter how environment variables are processed in Symfony 8’s context.HttpClient for Matomo API calls?
HttpClient (v8+) may introduce breaking changes (e.g., middleware handling, response parsing).EventSubscriber classes for Matomo events?
KernelEvents constants) may require refactoring.autoconfigure defaults (e.g., autowire: true, public_methods: false).HttpClientInterface (v8+) for Matomo API calls (e.g., middleware, response handling).KernelEvents constants or dispatcher behavior (e.g., TERMINATE event changes).TestCase bootstrapping).matomo.js version conflicts).composer show symfony/http-kernel | grep version
composer require symfony/*:^8.0 --update-with-dependencies
autowire, bind).HttpClient (e.g., middleware, response parsing).composer require nucleos/matomo-bundle:^4.4
config/packages/nucleos_matomo.yaml for Symfony 8’s config system:
# config/packages/nucleos_matomo.yaml
nucleos_matomo:
How can I help you explore Laravel packages today?