scheb/2fa-trusted-device
Adds trusted device support to scheb/2fa so users can skip 2FA on recognized devices for a set time. Stores trust tokens in cookies and persistence, with configurable lifetimes and validation, improving UX without removing 2FA security.
Adopt if:
Look elsewhere if:
"This package lets us deploy secure 2FA with a smart exception—trusted devices—so our team can work efficiently without sacrificing security. It’s a low-code, high-impact way to meet compliance needs while cutting development time. Think of it as ‘2FA Lite’ for internal tools first, with room to scale. The MIT license keeps costs down, and the Laravel integration aligns with our tech stack."
*"scheb/2fa-trusted-device extends the scheb/2fa-bundle we’re already using (or plan to use) with device fingerprinting and whitelisting. It’s a drop-in solution for:
trusted_devices: ['192.168.1.100', 'mac:ABC123']).Tradeoff: Limited to Laravel, but if we’re already in the ecosystem, this saves 2–4 weeks of dev work. For external-facing apps, we’d pair this with a premium 2FA service later."*
*"This gives us granular control over 2FA exceptions without weakening security. Key benefits:
Risk mitigation: We’d pair this with session monitoring (e.g., alert on unexpected device changes) and regular trust list reviews."*
How can I help you explore Laravel packages today?