Big Summer


An easy-to-use PHP library to access our SMS REST API

  • Why not share:
  • Social sharing button for Facebook
  • Social sharing button for Linkedin
  • Social sharing button for Twitter
  • Social sharing button for Googleplus
  • Social sharing button for Pinterest

For those users of PHP looking for a really simple way to access the advanced features available only through our REST API, it now takes only 2 minutes to get started using our PHP REST Client library download, available here (see Available Libraries) as a PHP include file.

How easy is it really? Very! Here’s an example of some PHP code, using the provided include file, to get the number of credits available on your account:

      $tmClient = new TMRestClient('myuser', 'mypass', 'production');
      $credits = $tmClient->getCredits();
      echo "I have $credits credits.";

We’ve written a quick guide to get you started, which is included in the library download, along with full documentation.

No related posts.