Adds static analysis, hardens docs, and clears dev-toolchain CVEs.
/tracker/back/* behind a firewall and getting visitor consent before loading tracker.js.Request::get() values to string before passing them to entity setters — fixes 10 mixed-type leaks PHPStan flagged at level 8.vitest ^2.1 → ^4.1, happy-dom ^15 → ^20.9 — clears all open Dependabot advisories on the dev toolchain. No impact on shipped code.Full changelog: https://github.com/BenMacha/mouseTracker/blob/v2.1.0/CHANGELOG.md Compare: https://github.com/BenMacha/mouseTracker/compare/v2.0.1...v2.1.0
Breaking rewrite. Targets Symfony 5.4 / 6.4 / 7.x and PHP 8.1+.
symfony/symfony meta-packageMouseTrackerExtension hack that injected the bundle into assetic.bundles[@Method](https://github.com/Method), [@Route](https://github.com/Route) annotations)patchwork/jsqueeze, leafo/scssphptracker.js — now plain vanilla JSdeclare(strict_types=1), attributes, readonly props throughoutdatetime_immutableAbstractController; routes use #[Route] with explicit methods:ServiceEntityRepository and are auto-wiredservices.yml → services.yaml; service IDs use FQCN; mouse_tracker alias replaces twig_trackerResources/config/routes.yaml — host apps import this instead of pointing at Controller/Tracker::build() returns a string so Twig templates can pipe it through |rawPage::clientID → Page::client (proper Doctrine convention; DB column name unchanged)findDsitinct typo renamed to findDistinctUrls, optional domain filterfetch and URLSearchParamsConfiguration class — proper config tree under mouse_tracker: root keyCHANGELOG.md with reconstructed 1.x history, CLAUDE.md.gitattributes no longer excludes Resources/ from composer dist — previously a release tarball was unusable because the JS and templates were strippedaddData: cachedRecords no longer overwrites partial with the wrong columncomposer require benmacha/mousetracker:^2.0
See CHANGELOG.md for the full migration path and README.md for the new install / config snippets.
How can I help you explore Laravel packages today?