Download the PHP package okolaa/termiiphp without Composer

On this page you can find all versions of the php package okolaa/termiiphp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package termiiphp

Termii PHP SDK

Github top language License Github issues Github forks


About   |   Requirements   |   Usage   |   Contribution   |   License   |   Author


:dart: About

Termii PHP SDK is a robust library designed to facilitate seamless integration with the Termii API. It enables developers to efficiently send SMS messages, manage sender IDs, handle campaigns, and verify tokens within PHP applications.

:white_check_mark: Requirements

  1. To use Termii's APIs, you need to first create an account for free at termii.com.
  2. BASE URL: Your Termii account has its own base URL, which you should use in all API requests. Your base URL can be found on your dashboard.

  3. Ensure that PHP 8.1 PHP 8.1+ or higher is installed on your system.

:hammer: Installation

:checkered_flag: Usage

TLDR;

Switch API

Termii’s Messaging allows you to send messages to any country in the world across SMS and WhatsApp channel through a REST API. Every request made is identified by a unique ID that help our users track the status of their message either by receiving Delivery Reports (DLRs) over their set webhook endpoints or polling the status of the message using a specific endpoint.

Messaging

Send Message

Send Bulk Message

Send Device Template

Sender ID

Campaigns

Phonebook

Contact

Token API

The TokenApi in the Termii PHP SDK enables businesses to generate, send, and verify One-Time Passwords ( OTPs). It's a powerful feature tailored for two-factor authentication and secure user verification processes.

Send Token

Voice Token

The voice token API enables you to generate and trigger one-time passwords (OTP) through the voice channel to a phone number.

Voice Call Token

The voice call API enables you to send messages from your application through our voice channel to a phone number.

Verify Token

Verify token API, checks tokens sent to customers and returns a response confirming the status of the token.

Email Token

The email token API enables you to send one-time-passwords from your application through our email channel to an email address.

In-App Token

This API returns OTP codes in JSON format which can be used within any web or mobile app.

Advanced Configuration

Troubleshooting

The simplest way to debug a request and response is to use the debug() method on your connector before sending a request. This will output an easy-to-understand array of the request and the response.

You may also use debugRequest and debugResponse independently if you would like to debug just the request or response respectively.

Common Issues

  1. Invalid API Key: Ensure you’ve set a valid API key. You can validate this by logging into the Termii Dashboard.

  2. SSL Certificate Issues: If you encounter SSL errors in local environments, ensure your system’s CA certificates are up to date. Alternatively, you can disable the SSL certificate verification as shown below:

  3. Timeouts: Increase the timeout values if the Termii API is slow to respond:

:hammer: Contribution

:memo: License

This project is under license from MIT. For more details, see the LICENSE file.

Made with :heart: by Douglas Okolaa

 

Back to top


All versions of termiiphp with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
saloonphp/saloon Version ^3.10
symfony/var-dumper Version ^7.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package okolaa/termiiphp contains the following files

Loading the files please wait ....