customergauge/session
A Laravel package that captures and persists visitor session data such as landing pages, referrers, UTM parameters, and campaign attribution, making it easy to track how users arrive and move through your application across requests with minimal configuration.
$_SESSION the existing PHP application already uses. That is the difference between a staged migration where users stay logged in across both apps, and a hard cutover where you must migrate auth, sessions, and features in one release. It buys the "parallel run" option.Illuminate\Session\Store (est. 2–6 engineer-weeks including tests), (c) re-platform identity now (1–2 quarters). This package makes (a) viable enough to price against (b) and (c).Consider it when all of these hold:
$_SESSION (session_start(), custom save handler, or hosting-imposed session.save_path) and is being migrated to Laravel incrementally.Look elsewhere when:
file/database/redis/cookie drivers. No adapter needed.Acceptance criteria before committing (PM-level):
Auth::user() behavior match stock Laravel expectations under test.Secure / HttpOnly / SameSite cookie flags preserved end-to-end.For executives: "This is a small, free, MIT-licensed adapter that lets our new Laravel work run alongside the legacy PHP app using the same login session. It buys us the option to ship Laravel features this quarter without waiting for — or funding — a full identity re-platform. License cost is zero; the real cost is roughly one to two weeks of engineering to audit, pin, and test it, plus a named owner. The risk is that it's a single-maintainer package with almost no adoption, so we treat it as internal glue we're prepared to fork, not a strategic dependency — and the identity re-platform stays on the roadmap rather than getting canceled on the strength of it."
For engineering: "It's a session-store adapter, not an auth system. It only pays off if the legacy app's $_SESSION must remain authoritative during migration. It does not remove the need for a real SSO/IdP decision — it defers it. Assume we own the code: vendor it, pin the version, and write contract tests against Illuminate\Session\Store covering regenerate, invalidate, migrate, flash data, and token behavior. Do not adopt it if legacy and Laravel sessions can't safely share cookie scope and storage — that's a hard stop, not a tuning problem."
How can I help you explore Laravel packages today?