clarkewing/handoff
A Laravel package for handing off work or state between users, jobs, or requests. Provides a straightforward API to pass things along cleanly without custom glue code. Lightweight, framework-native, and quick to set up.
Architecture fit
clarkewing/handoff sits at the authentication/session boundary: it transfers an authenticated (and now unauthenticated) context across first-party domains. Best fit is a Laravel estate with multiple owned hosts — marketing → app, tenant subdomains, or a legacy → new-platform migration — rather than a public SSO product./handoff domain constraint is an architectural signal: the package expects to be scoped to a specific host. That is the right default for security, but it makes the integration explicitly multi-domain-aware and environment-configuration-dependent.Integration feasibility
config/handoff.php.Technical risk
0.1.5 → 0.2.0 bump is not a compatibility guarantee. Adding a domain constraint to the /handoff route can narrow route matching and silently break hosts that previously resolved the route on any domain. Treat this as potentially breaking until the diff says otherwise.Key questions
/handoff domain constraint fail closed or fail open when unconfigured? What is the default for existing installs?continue/redirect target allowlisted, or passed through?vendor:publish --force or migrate?stancl/tenancy).Stack fit
composer.json constraints before planning. Fits cleanly where the session driver is already shared (Redis or database) and all handoff hosts are HTTPS with consistent cookie domains.Migration path
0.1.5 only if already in use; for new work, pin 0.2.0 exactly rather than a ^0.2 caret until the diff and test suite are reviewed. Do not float on * or dev-main for an auth component.0.1.x is already deployed anywhere, read the PR #3 diff before bumping — the domain constraint is the likely breakage point.Compatibility
php artisan route:cache) works with the constrained route.handoff-named routes or middleware aliases.Sequencing
local, staging, production hosts enumerated). Feature-flag the route.Maintenance
Support
Scaling
Failure modes
/handoff, presenting as an inexplicable login loop rather than an error.Ramp-up
How can I help you explore Laravel packages today?