benbjurstrom/otpz
otpz is a Laravel package for passwordless authentication using one-time passwords. Generate and validate secure OTP codes, send them by email, and add rate limiting and expiry controls to your login flow with minimal setup.
ip_address fix addresses a class of migration/insert failures in environments where a request IP isn't available (queued jobs, CLI, certain proxy setups). If OTPs are ever generated outside a normal HTTP request, this removes a silent breakage risk.To executives: We can ship passwordless/OTP login and step-up verification faster and more safely by using a small, Laravel-native package instead of building and maintaining that logic ourselves. The latest release adds localization (unlocks non-English markets) and Laravel 13 support (keeps us upgrade-ready), plus a fix that removes a reliability failure mode. Net: lower build cost, smaller security surface, and no framework-upgrade blocker — with the caveat that it's a pre-1.0 dependency we should version-pin and monitor.
To engineering: OTPz owns the fiddly, easy-to-get-wrong parts of OTP — generation, hashing, expiry, single-use enforcement, throttling — behind a clean Laravel API. v0.7.0 makes the ip_address column nullable (safe for jobs/CLI/proxied contexts), adds localization for user-facing messages, and adds Laravel 13 compatibility. Adopt it as an OTP primitive, not an auth framework; pair it with your own delivery/channel layer for SMS or multi-channel needs, and pin the minor version given pre-1.0 semantics.
How can I help you explore Laravel packages today?