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

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

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

PHP-based SMPP client lib

1.2(11y ago)234197.5k—3.9%160[27 issues](https://github.com/onlinecity/php-smpp/issues)[10 PRs](https://github.com/onlinecity/php-smpp/pulls)8LGPLPHPPHP &gt;=5.3.3

Since Jan 26Pushed 3y ago41 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (8)

THIS REPO IS NO LONGER MAINTAINED!

Look at  for an updated version.

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:

```
