vskstudio/takt-laravel
A Laravel integration for Takt that registers the package's services, publishes configuration, and exposes a convenient facade. Bring Takt's functionality into Laravel apps with minimal setup and Laravel-native conventions.
takt-core-php 0.7 behavior enforces HTTPS endpoints and redacts/masks URLs in template mode, which directly reduces PII exposure and compliance review scope.@takt snippet no longer reassigns window.takt, and later events no longer carry an empty URL that ingest rejects with a 400. This reduces silent data loss and broken event tracking, making the upgrade low-risk and worth taking before wider instrumentation rollout.Consider adoption when:
http(s) referrers dropped, and unresolved routes masked as /[redacted] or via redact_routes.InvalidArgumentException for http://localhost and scheme-less //host endpoints. This is the main adoption constraint to validate before committing.Look elsewhere when:
@takt directive / Takt service model.Executive summary: This Laravel package gives us a privacy-conscious analytics option with minimal integration surface. The v0.7.1 patch fixes a real tracking regression — the browser tracker was losing window.takt, and subsequent events were being sent with an empty URL and rejected with HTTP 400. That means broken or incomplete data in any rollout using 0.7.0. The upgrade is a Composer bump with no configuration change, plus a regression test to prevent recurrence.
Why it matters: The inherited 0.7 behavior strengthens the privacy story: endpoints must be HTTPS, so API keys are never sent in clear; in template mode, referrers are reduced to origin, non-HTTP(S) referrers are dropped, and unresolved routes are masked instead of sent raw. For product, this supports instrumentation of sensitive flows with less compliance overhead.
Engineering guidance: Run composer update vskstudio/takt-core-php to pull 0.7.3. Verify the analytics endpoint is https:// in every environment, including local; http://localhost and //host will throw. No config changes are required beyond that check. Treat the HTTPS requirement as a deliberate security control, not a bug.
Recommendation: Adopt or upgrade to v0.7.1 if we are using this package or evaluating it for privacy-sensitive Laravel instrumentation. Validate HTTPS endpoint configuration first, then proceed with a limited instrumentation rollout and monitor event ingestion for 400s.
How can I help you explore Laravel packages today?