PHPackages                             terox/php-smpp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. terox/php-smpp

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

terox/php-smpp
==============

PHP SMPP client library

1.1.1(9y ago)139MITPHPPHP &gt;=5.3.0

Since Jan 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/terox/php-smpp)[ Packagist](https://packagist.org/packages/terox/php-smpp)[ Docs](http://github.com/terox/php-smpp)[ RSS](/packages/terox-php-smpp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

PHP-based SMPP client lib
=========================

[](#php-based-smpp-client-lib)

This is a simplified SMPP client lib for sending or receiving smses through [SMPP v3.4](http://www.smsforum.net/SMPP_v3_4_Issue1_2.zip).

In addition to the client, this lib also contains an encoder for converting UTF-8 text to the GSM 03.38 encoding, and a socket wrapper. The socket wrapper provides connection pool, IPv6 and timeout monitoring features on top of PHP's socket extension.

This lib requires the [sockets](http://www.php.net/manual/en/book.sockets.php) PHP-extension, and is not supported on Windows. A [windows-compatible](https://github.com/onlinecity/php-smpp/tree/windows-compatible) version is also available.

Installation
------------

[](#installation)

```
php composer.phar require its/php-smpp:dev-master
```

Basic usage example
-------------------

[](#basic-usage-example)

To send a SMS you can do:

```
