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

Clarity Laravel Laravel Package

abr4xas/clarity-laravel

A lightweight Laravel integration for Microsoft Clarity. Configure your Clarity project ID and the package injects the tracking script, with a Blade directive available, so you can add session recordings, heatmaps, and user behavior analytics with minimal setup and no manual snippets.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Analytics tooling choice: Enables a quick, low-effort evaluation of Microsoft Clarity (session replay, heatmaps, user behavior) within a Laravel stack—useful when deciding whether to adopt Clarity versus building custom instrumentation.
  • Build vs. buy: This package is a “buy/borrow” shortcut for Clarity integration; PMs can compare the cost of adopting it against engineering time to build and maintain in-house tracking.
  • Roadmap and upgrade planning: v3.0.0 is a major release with a refactored ClarityCommand, native buffering (performance improvement), and maintenance for newer Laravel versions. Product should plan an upgrade window, especially if currently on v2.
  • Feature validation: Native buffering may improve event delivery reliability/latency, which matters for product analytics accuracy; PMs can use this to justify upgrade priority.
  • Use cases: UX research, funnel analysis, session recordings, heatmaps, and lightweight product analytics for Laravel apps.

When to Consider This Package

  • Consider it if: You’re on Laravel and want a simple, community-maintained way to add Microsoft Clarity without custom JavaScript or server-side plumbing.
  • Consider it if: You value native buffering (v3) for more efficient event handling and want to stay current with Laravel version support.
  • Evaluate carefully before adopting v3: This is a major version bump (v2 → v3) with a ClarityCommand refactor and a testbench requirement jump to ^11.0.0. Treat it as potentially breaking—review the changelog, test command usage, and confirm Laravel compatibility (the release references “Laravel 13 maintenance,” which may indicate forward-looking support).
  • Look elsewhere if: You are not using Laravel; you need enterprise-grade analytics with SLAs, vendor support, or advanced server-side event pipelines; you require strict semantic versioning with no breaking changes; or you need features beyond Clarity’s core offering (e.g., custom data warehousing, complex attribution).

How to Pitch It (Stakeholders)

  • Executives: This package gives us a fast, low-cost way to add Microsoft Clarity’s session replay and heatmaps to our Laravel product. v3 improves performance with native buffering and keeps us compatible with newer Laravel versions, reducing long-term maintenance risk. The main trade-off is a major-version upgrade that needs a short engineering validation cycle.
  • Engineering: v3.0.0 is a major release: ClarityCommand was refactored, native buffering was added, and orchestra/testbench moved to ^11.0.0. Expect possible breaking changes in command signatures and test setup. Recommend scheduling an upgrade spike, reviewing the diff, and running the test suite before rolling out. Dependabot updates are routine; the meaningful change is the command/buffering refactor and version support.
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.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox