PHP Wrapper around TeleVoIPs API

0.2.2 2021-04-13 13:15 UTC

This package is auto-updated.

Last update: 2021-05-13 13:29:51 UTC


This is a wrapper around TeleVoIPs API. The API is very minimal, so this implementation is fairly simple.


In order to authenticate you need a token from TeleVoIPs. Head over to the docs portal to read updated procedure as how to obtain one:

TeleVoIPs is likely to give you a toke and a secret, the API requires the token only.

Messages API

You can send a message.

How to send a message:

$televoips = new \ForwardForce\TeleVoIPs\TeleVoIPs('your-token');

try {
    $message = $televoips->message()
        ->setMessage('Test SMS')
} catch (\GuzzleHttp\Exception\GuzzleException $e) {

How run the examples:

To run the examples, you need the following:

php examples/send_message.php


To run locally, you can use the docker container provided here. You can run it like so:

docker-compose up

Then you can ssh into the php-fpm container. Please note, you need to set your token as environmental variables $TELEVOIPS_API_TOKEN.

xdebug is fully configured to work as cli, hookup your favorite IDE to it and debug away!

There is auto-generated documentation as to how to run this library on local, please take a look at phpdocker/

If you find an issue, have a question, or a suggestion, please don't hesitate to open a github issue.


Thank you to for making getting PHP environments effortless!