PHPackages                             its/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. its/php-smpp

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

its/php-smpp
============

PHP SMPP client library

527.3k↓35.4%71PHP

Since Nov 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/agladkov/php-smpp)[ Packagist](https://packagist.org/packages/its/php-smpp)[ RSS](/packages/its-php-smpp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (1)

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:

```
