BlockService pattern, which may clash with Laravel’s service container or require manual DI configuration.spatie/laravel-analytics?core23/piwik-bundle, update dependencies (Symfony 6.x → Laravel 10), and replace Sonata-specific logic with Laravel equivalents.BlockService and event listeners won’t work OOTB. Requires:
sonata.block with Laravel’s view composers or service providers.EventDispatcher calls to Laravel’s Events system.make:command or make:controller support).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Matomo API deprecates used endpoints | Analytics data loss | Fork + API version pinning |
| SonataAdmin deprecates block system | Frontend dashboard breaks | Replace with Laravel view composers |
| Security vulnerability in Matomo v3 | Data breach | Migrate to Matomo v4+ ASAP |
| Bundle conflicts with Laravel 10 | App crashes | Isolate in a micro-service |
| No analytics data in production | Business metrics blind spots | Fallback to direct Matomo JS tracker |
How can I help you explore Laravel packages today?