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

Authy Laravel Package

rinvex/authy

Rinvex Authy brings Twilio Authy two-factor authentication to Laravel, with user registration, phone verification, token validation, and middleware-ready workflows for securing logins and sensitive actions. It offers configurable setup and a simple API for managing Authy users.

View on GitHub
Deep Wiki
Context7

Rinvex Authy is a simple wrapper for Authy TOTP API, the best rated Two-Factor Authentication service for consumers, simplest 2fa Rest API for developers and a strong authentication platform for the enterprise.

Frequently asked questions about Authy
What is rinvex/authy used for in a Laravel application?
It is a thin Laravel wrapper around Twilio Authy's TOTP REST API. Use it to register Authy users, verify phone numbers, validate tokens, and add second-factor or step-up checks behind middleware. It is not a complete 2FA platform; your app still owns enrollment policy, recovery flows, audit logging, and user-to-Authy-ID mapping.
How do I install rinvex/authy with Composer?
Run composer require rinvex/authy and confirm the package's service provider and configuration publishing steps from its README. Because the repository location and version constraints are uncertain in this assessment, verify the exact install command and Laravel auto-discovery behavior from the package source. Pin the dependency and review its service provider and config before using it in production.
Which Laravel and PHP versions does rinvex/authy support?
The provided assessment does not confirm supported Laravel or PHP versions. Check the package composer.json constraints and test against your target Laravel and PHP pair before adoption. Treat it as a prototype dependency until compatibility is verified, especially for newer Laravel releases.
How do I configure Authy API credentials in Laravel?
The wrapper requires Authy or Twilio API credentials, typically configured through environment variables and a published config file. Keep the API key out of source control and define a rotation procedure. Confirm the exact config keys in the package source, and avoid scattering credential access across controllers or domain services.
Does rinvex/authy handle user registration and phone verification?
Yes, the overview says it supports Authy user registration, phone verification, token validation, and middleware-ready workflows. Your application still needs to decide when to enroll users, how to handle changed phone numbers, and how to store the Authy user ID mapping. Do not make the package the system of record for 2FA state.
Can I use rinvex/authy for step-up authentication on sensitive actions?
You can use it as a second-factor or step-up verification service if you wrap it behind an application-owned interface such as TwoFactorProvider. Call your adapter from controllers or actions rather than calling the package directly from domain services. Define step-up rules, token reuse prevention, and failure handling in your application.
How should I test a Laravel app that uses rinvex/authy?
Add integration tests around your adapter, covering successful verification, invalid tokens, API timeouts, rate limits, and error responses. Mock or fake the Authy HTTP client in unit tests so tests do not depend on the live vendor API. Also test enrollment, recovery, disablement, and account-lockout flows because those are application responsibilities.
What are the production risks of using rinvex/authy?
The main risk is external vendor dependency on Authy and Twilio, including API availability, pricing, rate limits, credential handling, and lifecycle posture. Secondary risks include low adoption signals, uncertain maintenance, security review gaps, incomplete recovery flows, and phone-number PII handling. Validate the Authy API lifecycle and keep a documented exit plan to Twilio Verify or another TOTP provider.
Is rinvex/authy actively maintained and safe for production?
The assessment notes only 35 stars, an unknown repository location, and modest confidence, so maintenance and safety are not confirmed. Treat it as a prototype or low-risk internal dependency until code quality, test coverage, security scanning, and current Authy API compatibility are verified. Monitor upstream activity and pin versions if you proceed.
What alternatives should I consider instead of rinvex/authy?
Consider Twilio Verify, a maintained Laravel 2FA package, or a directly implemented TOTP flow using an established library. The key is to keep an internal TwoFactorProvider adapter so Authy can be replaced with minimal domain changes. Evaluate vendor lifecycle, pricing, recovery support, and compliance requirements before choosing.
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.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core
nodisrupt/laravel-agent
sierratecnologia/media-manager