yaodem / sendthen-php-sdk
SendThen REST API client for PHP
Requires
- php: ^7.4
- ext-curl: ^7.4
- ext-json: ^7.4
- guzzlehttp/guzzle: ^7.3
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.6
- vlucas/phpdotenv: ^5.3
This package is auto-updated.
Last update: 2025-06-11 03:46:34 UTC
README
The SendThen PHP SDK makes it simpler to integrate communications into your PHP applications using the it's REST API. Using the SDK, you will be able to send SMS, check balance account, check your contacts and groups.
Supported PHP Versions: This SDk works with PHP 7.4 and greaters.
Installation
To install compsoer
Globaly in Mac
-
Download the latest version of Composer
-
Run the following command in Terminal:
$ php ~/Downloads/composer.phar --version
-
Run the following command to make it executable:
$ cp ~/Downloads/composer.phar /usr/local/bin/composer $ sudo chmod +x /usr/local/bin/composer $ Make sure you move the file to bin directory.
-
To check if the path has /usr/local/bin, use
$ echo $PATH
If the path is different, use the following command to update the $PATH:
$ export PATH = $PATH:/usr/local/bin $ source ~/.bash_profile
-
You can also check the version of Composer by running the following command:
$ composer --version
Globally in Linux
-
Run the following command:
$ curl -sS https://getcomposer.org/installer | php
-
Run the following command to make the composer.phar file as executable:
$ chmod +x composer.phar
-
Run the following command to make Composer globally available for all system users:
$ mv composer.phar /usr/local/bin/composer
Windows 10
-
Download and run the Windows Installer for Composer.
Note: Make sure to allow Windows Installer for Composer to make changes to your php.ini file.
-
If you have any terminal windows open, close all instances and open a fresh terminal instance.
-
Run the Composer command.
$ composer -V
Steps to install SendThen PHP Package
-
To install the stable release, run the following command in the project directory:
$ composer require yaodem/sendthen-php-sdk
-
To install a specific release, run the following command in the project directory:
$ composer require yaodem/sendthen-php-sdk:release version
-
To test the features in the beta release, run the following command in the project directory:
$ composer require yaodem/sendthen-php-sdk:v1.0.1-beta1
-
Alternatively, you can download this source and run
$ composer install