jeffersongoncalves/laravel-umami
Laravel Umami integrates privacy-friendly Umami analytics into Laravel apps, with publishable configuration, a tracking script component, and simple helpers for sending pageviews and custom events to self-hosted or cloud Umami instances.
<script> rendered by the package when Laravel’s Vite nonce is set. This supports nonce-based script-src policies without requiring 'unsafe-inline', making the package viable for stricter security baselines and regulated or enterprise customer environments.laravel-security-headers, Vite, and strict CSP; embedded third-party widgets; analytics/tag management; schema or script snippets; any package-managed <script> output in environments where 'unsafe-inline' is disallowed.Consider adoption when:
laravel-security-headers or similar middleware.script-src and disallows 'unsafe-inline'.<script> tags and you want CSP compliance without custom wrappers or post-processing.Look elsewhere or defer when:
'unsafe-inline'.Executives: v3.1.0 makes the package compatible with strict nonce-based CSP, removing a common blocker in security reviews and enterprise deals. It reduces custom security work and helps the product meet customer security requirements without weakening CSP with 'unsafe-inline'.
Engineering: The package now automatically applies Laravel’s Vite CSP nonce to every <script> it renders when the app sets one. This integrates cleanly with existing Laravel security-header middleware and eliminates bespoke nonce-injection code around package-rendered scripts. No breaking changes are indicated; validate in apps with strict script-src policies and confirm coverage for all script-emitting paths.
How can I help you explore Laravel packages today?