authy/php
PHP SDK for Twilio Authy two-factor authentication. Register and verify users, send and check one-time tokens, and manage phone-based 2FA through a simple, PSR-compatible client with Laravel-friendly integration.
authy/php remains a thin server-side REST client for Authy, not a Laravel-native package. PHP 8 support does not add a service provider, facade, config publishing, or Laravel conventions. It still belongs behind an app-owned MfaProvider interface, isolated from controllers and domain logic, with manual wiring.4.0.0-rc2 is a pre-release: it is not a stable semver commitment, API surface may still change before GA, and consuming it requires explicit version pinning (or minimum-stability changes that can leak into the wider dependency graph). The Guzzle/PSR-7 constraint matrix, ext-curl/ext-json requirements, and behavior on PHP 8.1/8.2/8.3 must still be proven by spike.4.0.0 planned, and on what timeline? Does the release restore active maintenance (issue triage, security response) or is it a one-off PHP 8 patch? Which PHP 8.x minors and Laravel versions are actually tested in CI? Are Guzzle 7 / PSR-7/PSR-18 constraints resolved? Is the Authy API itself still contractually supported, and what is its EOL date? Which flows are required (TOTP, push, SMS, phone verification) and does 4.0.0-rc2 cover all of them? Who owns security patching if we adopt the RC? What is the migration path to Twilio Verify and the re-enrollment cost?MfaProvider interface. Keep API keys in secret management, enforce HTTP timeouts, map Authy exceptions to application errors, and redact phone numbers, tokens, and API keys from logs. PHP 8 support means this adapter can now live in a modern Laravel runtime rather than forcing a legacy PHP sidecar.4.0.0-rc2 is a better temporary bridge than the 2021 release because it clears the PHP 8 upgrade blocker, but it remains a bridge: pin the exact RC, vendor or fork if patching is needed, and keep the migration to Twilio Verify on the roadmap. Re-enrollment expectations are unchanged, since secrets and push registrations are unlikely to be exportable.ext-curl/ext-json. Because there is no package auto-discovery, all wiring is manual. Pin 4.0.0-rc2 exactly and avoid loosening minimum-stability globally; if a conflict appears, isolate the client in a separate service rather than forcing it into the main application. Treat any later 4.0.0 stable as a separate upgrade requiring its own review.4.0.0 and shipping the pinned RC. 8) Execute migration to Twilio Verify and remove the dependency.4.0.0 GA or to a decision to migrate off.minimum-stability leakage into unrelated dependencies, and churn when stable 4.0.0 lands with breaking changes. Backup codes and support-assisted recovery must be designed before launch.authy/php as a short-term migration bridge on PHP 8, but does not make it a strategic foundation; standardize new work on a supported Twilio Verify integration or Laravel-native MFA, and gate any RC adoption on provenance verification and a named owner for patching.How can I help you explore Laravel packages today?