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
Laravel Authy

Laravel Authy Laravel Package

rinvex/laravel-authy

Rinvex Laravel Authy integrates Twilio Authy two-factor authentication into Laravel applications, letting you register users, verify TOTP and SMS tokens, and manage secure 2FA flows through simple configuration, a service provider, and a convenient facade.

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 Laravel Authy
What is rinvex/laravel-authy used for in a Laravel application?
It is a thin Laravel wrapper around the Twilio Authy TOTP API for two-factor authentication. It lets you register users, provision QR codes, and verify authenticator-app tokens through a service provider, config file, and facade. Its scope is Authy TOTP, meaning the QR/authenticator-app product, not Authy Push, OneTouch, or SMS fallback. Developers typically evaluate it for enrollment and token-verification flows in Laravel apps.
How do I install and configure rinvex/laravel-authy?
The normal path is composer require, publish the package config, set the Authy API key in your environment, and call the facade or service provider bindings. Confirm that credentials are read through config() rather than directly from env so the package works under config:cache. Validate its Composer constraints against your PHP and Laravel versions before installation.
Which Laravel and PHP versions does rinvex/laravel-authy support?
The exact constraints are not specified in the provided context, so check composer.json before assuming compatibility. Packages of this age and activity level often cap at older Laravel or PHP majors, which can turn a quick install into a fork. If constraints do not intersect your target matrix, forking and bumping them may be safer than pinning an aging runtime.
Does rinvex/laravel-authy support Authy Push, OneTouch, or SMS fallback?
Based on the package description, it wraps the Authy TOTP API, which is the QR and authenticator-app product. It does not appear to cover Authy Push, OneTouch, or SMS fallback. Confirm endpoint coverage before putting it in a design document, especially if stakeholders assume push notifications or SMS are included.
How should I test a Laravel app that uses Authy TOTP without calling the real API?
Wrap the facade behind an internal contract such as TwoFactorProvider and fake that contract in your tests. The package is likely to use Guzzle underneath, so you can also mock the HTTP layer so CI never touches Authy. Avoid calling the facade directly from controllers, which keeps tests simpler and makes later provider swaps a single-class change.
Is it safe to store Authy TOTP secrets with this package?
TOTP shared secrets are long-lived bearer equivalents, and this wrapper likely does not enforce encryption at rest, single-use token consumption, per-user rate limiting, or backup-code issuance. Store secrets in an application-owned table with encrypted casts or KMS-backed encryption. Implement replay protection, rate limits, and backup codes yourself because none of those controls are optional in production.
What are the production risks of depending on rinvex/laravel-authy?
The package has low activity, single-vendor stewardship, and a score of 0.53, so treat it as likely unmaintained with stale framework constraints and no guaranteed security response. Authy is a Twilio property, and Twilio has been steering customers toward Twilio Verify, so confirm the Authy TOTP API GA/EOL status and migration timeline. Expect raw arrays or HTTP responses and budget for your own typed exceptions, retries, and secret redaction in logs.
What alternatives to rinvex/laravel-authy should I consider?
Consider Twilio Verify for managed two-factor authentication with push or SMS channels, or a self-hosted TOTP implementation using QR generation plus an OTP library. Laravel Fortify and dedicated Google2FA packages are also options for app-based TOTP. Define an internal TwoFactorProvider contract so switching away later is a single-class change rather than a rewrite.
How do I avoid coupling my controllers to the Authy facade?
Define an internal contract such as TwoFactorProvider with enroll, verify, revoke, and rotate methods, then implement it with this package. Controllers and listeners should depend on the contract, never the Authy facade directly. That keeps vendor API shape out of call sites and makes a later move to Twilio Verify or self-hosted TOTP straightforward.
Is rinvex/laravel-authy maintained, and what is the migration path if Authy TOTP is discontinued?
Treat it as low-activity and likely unmaintained because it has 32 stars and single-vendor stewardship. Twilio has been steering customers toward Twilio Verify, so verify the Authy TOTP API GA/EOL status and published migration date before committing. Own the fork, set a trigger for taking it over, and keep secrets in app-owned encrypted storage so migration remains manageable.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
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