Download the PHP package direct7/direct7-php without Composer
On this page you can find all versions of the php package direct7/direct7-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package direct7-php
Direct7 PHP SDK
PHP SDK to seamlessly incorporate communication features into your PHP applications via the Direct7 REST API. This SDK empowers you to effortlessly initiate SMS,Whatsapp, Slack, Viber messages and 2 factor authentication features.
Documentation
The documentation for the Direct7 REST API can be found here Direct7 API Reference.
Installation
Install the SDK using Composer. Run the following command from project root directory:
To use the bindings, use Composer's autoload:
Usage
To get started you need to have an active Direct7 account, If you haven't yet registered, please proceed to Sign up
Authentication
In order to initiate API requests, create a client object using your Direct7 API token. To obtain an API token, kindly visit the following link: https://app.d7networks.com/api-tokens.
Examples
- SMS
- Verify
- Number Lookup
- Viber
- Slack
SMS
Send SMS
Send SMS (Unicode)
Check Request Status
Verify
Send OTP
Re-Send OTP
Verify OTP
Check OTP Request Status
Send Whatsapp Free-form Message (Location Details)
Send Whatsapp Templated Message.
Send Whatsapp Interactive Message.
Check Whatsapp Request Status
Number Lookup
Search Phone Number Details
Viber
Send Viber Message
Check Request Status
Slack
Send Slack Message
Check Slack Request Status
FAQ
How do I get my API token?
You can get your API token from the Direct7 dashboard. If you don't have an account yet, you can create one for free.
Supported php versions
The SDK supports php 8.1.2 and higher.
Supported APIs
As of now, the SDK supports the following APIs:
API | Supported? |
---|---|
SMS API | ✅ |
Verify API | ✅ |
Whatsapp API | ✅ |
Number Lookup API | ✅ |
Viber API | ✅ |
Slack API | ✅ |
How do I get started?
You can find the platform documentation @ Direct7 Docs.
How do I get help?
If you need help using the SDK, you can create an issue on GitHub or email to [email protected]
Contributing
We welcome contributions to the Direct7 PHP SDK. If you have any ideas for improvements or bug fixes, please feel free to create an issue on GitHub.