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.
vskstudio/takt-core-php. It fits Laravel apps that need server-side/Blade directive tracking plus a browser tracker, with configuration-driven endpoint, API key, route templates, and route redaction. The v0.7.1 release is a patch that updates the core dependency to 0.7.3 and documents inherited 0.7 behavior.composer update vskstudio/takt-core-php; no configuration change is stated as required by the patch. However, feasibility depends on environment configuration because the inherited takt-core-php 0.7 behavior now requires an https endpoint, including local development.http:// endpoint, http://localhost, or scheme-less //host value will make the @takt directive and Takt service throw InvalidArgumentException. This is intentional to prevent API key leakage, but it can break local, CI, or internal environments. The browser tracker fix addresses a real functional regression: the inline snippet previously replaced window.takt, causing takt('Event') to fail, and since takt-core-php 0.6.1 events after the first pageview could be sent with an empty URL and rejected with HTTP 400. Template-mode privacy behavior also changes: referrers are reduced to origin, non-http(s) referrers are dropped, and unresolved routes are masked as /[redacted] or a configured redact_routes pattern.takt-core-php 0.7.3? How are endpoints configured across local, staging, and production, and is HTTPS termination guaranteed in all environments? Do any teams rely on http://localhost for local analytics testing? Are route templates and redact_routes in use, and do the new masking rules match privacy/data-governance expectations? Is there a documented local-development pattern for HTTPS endpoints or disabling tracking? What regression coverage exists for the inline browser bundle and global window.takt behavior?Takt service for analytics/tracking. The package remains Composer-managed and inherits configuration conventions from takt-core-php; teams should treat endpoint validation and route redaction as part of the integration contract, not just package configuration.composer update vskstudio/takt-core-php to pull 0.7.3. Then audit all configured endpoints for https:// and replace any http://, http://localhost, or //host values. Validate local development workflows separately, since the release explicitly states local development is included in the HTTPS requirement. No configuration change is required by the patch itself, but environment changes may be required.window.takt; the regression test is a positive signal but should be verified in the host application’s asset pipeline.InvalidArgumentException occurs in local, CI, staging, and production-like environments. Third, exercise pageview and custom events in a browser to confirm window.takt is not overwritten and event URLs are populated. Fourth, review template-mode referrer and route-redaction behavior if enabled. Finally, deploy to production and monitor client-side errors and ingest 400s.takt-core-php 0.7.3 and inherits its security/privacy semantics. Maintenance is mostly Composer hygiene plus periodic review of endpoint and redaction configuration. The documented 0.7 behavior should be captured in internal runbooks because future upgrades may continue to tighten privacy or transport rules.http://localhost, scheme-less endpoint values, missing window.takt, and unexpected URL redaction in template mode. The release notes are clear enough to triage these, but teams need an approved local-development workaround.InvalidArgumentException from non-HTTPS endpoints; browser takt('Event') failure if the global is reassigned; HTTP 400 ingest rejection for empty or invalid event URLs; dropped or origin-only referrers in template mode; masked /[redacted] page URLs when routes cannot be resolved. The added regression test mitigates the global-reassignment failure mode but does not remove environment-configuration risk.How can I help you explore Laravel packages today?