Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Hotjar Laravel Package

jeffersongoncalves/laravel-hotjar

Integrates Hotjar tracking into Laravel applications, letting you inject the Hotjar snippet and configure your site ID from a single config file. Simple to install and works with any Blade or Livewire app.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Unblocks strict-CSP adoption. If our roadmap includes retiring 'unsafe-inline' from script-src (a common pen-test finding and a checkbox on most security questionnaires), this release removes one known blocker: scripts emitted by the package will now carry Laravel's Vite nonce automatically when the app sets one. That converts "we'd have to fork or monkey-patch this package" into "upgrade the dependency."
  • Build vs. buy / adopt vs. wrap. Previously the honest engineering answer to "make this package CSP-compatible" was a small but permanent maintenance tax — a service provider override, a Blade directive shim, or patching rendered output. That tax is now gone. Adoption gets cheaper and the total cost of ownership comparison shifts in favor of keeping the package.
  • Enterprise/procurement gating. Nonce support is the kind of item that shows up as a line in a vendor security review or a customer's due-diligence spreadsheet. Having a first-party answer ("supported since 1.1.0, no inline exceptions required") shortens those conversations and avoids a bespoke security exception request.
  • Scope and sequence for a CSP migration epic. This tells us one concrete dependency is ready. It does not tell us the migration is done — we still need an inventory of everything else emitting inline scripts or styles. Use this release as a checklist item, not a milestone.
  • Consent and privacy work is not addressed here. Nonces govern whether a script is allowed to execute, not whether it should. If the same package injects third-party tags (analytics, chat, pixels), a consent-gating decision is still outstanding and separate.

When to Consider This Package

Consider adoption (or upgrading) when:

  • Your application renders third-party or package-owned <script> tags and you already use, or plan to use, a nonce-based Content-Security-Policy — typically via laravel-security-headers or an equivalent middleware.
  • You are in or moving toward an enterprise, regulated, or security-reviewed sales motion where CSP is on the questionnaire.
  • You are the team that would otherwise write and maintain the nonce-injection shim yourself. If that shim already exists and is small and well-tested, this release is a nice-to-have rather than a forcing function.
  • You want to reduce the number of "we can't turn on strict CSP because of package X" exceptions in your policy.

Look elsewhere or deprioritize when:

  • You have no CSP and no near-term plan to add one. The feature is harmless but delivers no value today — upgrade on your normal cadence, don't schedule around it.
  • Your policy strategy is hash- or SRI-based rather than nonce-based. Confirm with the maintainer whether that path is supported; a nonce-only release leaves you where you were.
  • You need guarantees beyond the initial render — specifically, whether the nonce is propagated to scripts injected dynamically after page load, and whether other script attributes (integrity, crossorigin, referrerpolicy) are preserved.
  • You need consent management, tag governance, or a tag-manager abstraction. This package renders scripts; it does not decide which ones are lawful to run for a given user.
  • The evidence base is thin. A single release note with no prior assessment history is not enough to judge maintenance cadence or responsiveness. Ask for the changelog history and issue-response record before betting a compliance dependency on it.

How to Pitch It (Stakeholders)

To executives / sponsors: This is a small, non-breaking release from a dependency we use to render scripts, and it closes a specific gap that was standing between us and a stricter browser security policy. In plain terms: fewer security exceptions to explain, faster security reviews with enterprise buyers, and no engineering time spent building a workaround we'd have to maintain forever. It is not a headline feature and it does not change the product for customers — frame it as risk reduction and unblocked compliance work, not as roadmap delivery.

To engineering: Release 1.1.0 propagates Laravel's Vite CSP nonce onto every <script> the package renders, so nonce-based script-src policies work without 'unsafe-inline'. Expected impact is a drop-in upgrade with no API changes; the main verification is confirming the nonce is present on rendered output in a staging environment with CSP headers actually enabled (and not silently absent because the nonce isn't configured in that environment). Worth a short spike to confirm behavior for dynamically injected scripts and to check whether integrity/crossorigin attributes survive. Low effort, and it retires a known item from the CSP backlog.

To security / compliance reviewers: Nonce-based CSP support is implemented natively as of 1.1.0, so the package no longer requires an inline-script exception. Note two limits we should document honestly: the nonce is only applied when the app configures one, and nonce support is orthogonal to consent — third-party tags still need to be gated separately if our privacy posture requires it.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen