Download the PHP package authy/php without Composer
On this page you can find all versions of the php package authy/php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package php
Short Description PHP client for Authy
License MIT
Homepage https://github.com/twilio/authy-php
Informations about the package php
🚨🚨🚨
This library is no longer actively maintained. The Authy API has been replaced with the Twilio Verify API. Twilio will support the Authy API through November 1, 2022 for SMS/Voice. After this date, we’ll start to deprecate the service for SMS/Voice. Any requests sent to the API after May 1, 2023, will automatically receive an error. Push and TOTP will continue to be supported through July 2023.
Learn more about migrating from Authy to Verify.
Please visit the Twilio Docs for:
Please direct any questions to Twilio Support. Thank you!
🚨🚨🚨
PHP Client for Twilio Authy Two-Factor Authentication (2FA) API
Documentation for PHP usage of the Authy API lives in the official Twilio documentation.
The Authy API supports multiple channels of 2FA:
- One-time passwords via SMS and voice.
- Soft token (TOTP via the Authy App)
- Push authentication via the Authy App
If you only need SMS and Voice support for one-time passwords, we recommend using the Twilio Verify API instead. More on how to choose between Authy and Verify here.
Authy Quickstart
For a full tutorial, check out the PHP/Laravel Authy Quickstarts in our docs:
Authy PHP Installation
This library requires PHP 5.6+
Install with composer. The authy/php
package is available on Packagist.
Include in your composer.json
as follows:
{
"require": {
"authy/php": "3.0.5"
}
}
Usage
To use the Authy client, import AuthyApiClient and initialize it with your production API Key found in the Twilio Console:
2FA Workflow
OR
Phone Verification
Phone verification now lives in the Twilio API and has PHP support through the official Twilio helper libraries.
Verify V2.
Contributing
You can use docker to run tests and develop locally without the need to install the dependencies directly in your machine:
To contribute, make your changes in a branch and send a Pull Request to the twilio/authy-php repo.
Copyright
Copyright (c) 2011-2020 Authy Inc. See LICENSE for further details.