Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Verify Laravel Package

sanjabteam/verify

A Laravel/PHP package for mobile number verification via SMS. It generates and validates one-time codes with customizable length and expiry, manages resend limits, supports configurable SMS drivers, and offers a simple API for secure passwordless registration and login flows.

View on GitHub
Deep Wiki
Context7

Laravel package to verify users with a one-time password (OTP)

Frequently asked questions about Verify
What is sanjabteam/verify and what does it do in Laravel?
sanjabteam/verify is a Laravel package for mobile number verification using one-time passwords sent by SMS. It generates and validates OTP codes with configurable length and expiry, manages resend limits, and provides an API for passwordless registration and login flows. It is best treated as an OTP utility behind your own application interface, not as a complete identity platform.
How do I install sanjabteam/verify with Composer?
Install it with Composer using composer require sanjabteam/verify, then publish any package config or migrations if the repository provides them. You will need to configure an SMS delivery driver and wire the verification calls into your registration, login, or step-up flow. Because the repository is archived, review the source and Composer constraints before adding it to a real application.
Which Laravel and PHP versions does sanjabteam/verify support?
Version support is defined in the package composer.json, so check its PHP and Laravel constraints before installation. The repository is archived, which means newer Laravel releases may not be supported and dependency drift is likely over time. Run a compatibility spike in a disposable Laravel app that matches your production dependency set.
How does sanjabteam/verify generate and validate OTP codes?
The package generates one-time codes and validates submitted codes against stored OTP records, with customizable code length and expiry. Exact generation, storage, invalidation, and comparison behavior must be confirmed by reading the source because those details are security-critical. Wrap the flow in your own service so you can audit and replace it if needed.
Are OTPs hashed or stored securely in sanjabteam/verify?
The provided overview does not confirm whether OTPs are hashed at rest, so you must inspect the source and database schema before trusting it. For authentication-adjacent use, OTPs should be stored hashed, compared in constant time, expired reliably, and protected by rate limits and lockouts. If the package does not meet those expectations, fork it or implement the storage layer yourself.
How do resend limits and OTP expiry work in this package?
The package advertises customizable OTP expiry and resend-limit management, which are essential controls for SMS verification abuse. You should verify how expiry is enforced, whether used codes are invalidated, and how resend counters are scoped per user, phone number, and IP. Add tests for reuse, enumeration, and rapid resend attempts before production use.
Can I use sanjabteam/verify with a custom SMS driver or email delivery?
The package supports configurable SMS drivers, so delivery can likely be adapted to your SMS provider through its driver configuration. Confirm whether the driver interface is stable and whether email or other channels are supported or require custom work. Keeping delivery behind an application-owned adapter reduces lock-in and makes provider changes safer.
Can sanjabteam/verify handle passwordless registration and login flows?
The package is intended to support passwordless registration and login flows by verifying a mobile number with an OTP. That makes it useful for SMS-based sign-in, but the surrounding session, account-linking, and abuse-prevention logic remains your responsibility. Treat the package as one component in the authentication flow, not as a complete authentication system.
Is sanjabteam/verify maintained and safe for production authentication?
No, it should not be treated as production-ready authentication infrastructure without significant review. The repository is archived, has low visible adoption, and handles security-sensitive OTP functionality, so unpatched issues, outdated framework support, weak rate limiting, or unclear OTP storage are real risks. If you use it, fork or vendor it, pin the version, add tests, and assign a risk owner.
What alternatives or migration path should I consider if the package is archived?
Consider a maintained Laravel authentication package or a small in-house OTP implementation if the archived package does not pass security and compatibility review. The safest migration path is to define an internal OtpVerifier interface, wrap sanjabteam/verify behind it for a spike, and replace the implementation later without touching product code. Also check for known advisories, unresolved issues, and abandoned dependencies.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource