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

ActiveLibrary

magojr/php-smpp
===============

PHP-based SMPP client lib

1.2.1(6y ago)05LGPLPHPPHP &gt;=5.3.3

Since Jan 26Pushed 6y agoCompare

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

READMEChangelog (1)DependenciesVersions (3)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 has changed significantly from it's first release, which required namespaces and included some worker components. You'll find that release at [1.0.1-namespaced](https://github.com/onlinecity/php-smpp/tree/1.0.1-namespaced)

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.

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

[](#basic-usage-example)

To send a SMS you can do:

```
