PHPackages                             larc/smpp-client-php - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. larc/smpp-client-php

ActiveLibrary[HTTP &amp; Networking](/categories/http)

larc/smpp-client-php
====================

Permite realizar envíos de SMS por el protocolo SMPP. v3.4

2.1.2(1y ago)1482[2 issues](https://github.com/luisarcia/smpp-client-php/issues)MITPHPPHP &gt;=5.6

Since Feb 18Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/luisarcia/smpp-client-php)[ Packagist](https://packagist.org/packages/larc/smpp-client-php)[ RSS](/packages/larc-smpp-client-php/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

SMPP Client
===========

[](#smpp-client)

Permite enviar SMS utilizando el protocolo SMPP v3.4 ([https://smpp.org/SMPP\_v3\_4\_Issue1\_2.pdf](https://smpp.org/SMPP_v3_4_Issue1_2.pdf))

**Soporta:**

- Unicode
- SMS Multi-part
- SMS Flash (tipo 0)

Changelog
---------

[](#changelog)

- 2.1.0
    - Se renombra algunas clases para que sea más claro lo que hace.
    - Se mejora la separación de funcionlidad por clase.
    - Se elimina la función de Bulk.

Requerimientos
--------------

[](#requerimientos)

PHP 5.6 o superior

Instalación
-----------

[](#instalación)

Instalar via [Composer](http://getcomposer.org/):

```
composer require larc/smpp-client-php
```

Ten en cuenta:

- Ejecutar `composer install` para agregar las dependencias en el directorio **vendor**
- Añade el autoloader en tu aplicación con la línea: `require("vendor/autoload.php")`

Configuración
-------------

[](#configuración)

```
require 'vendor/autoload.php';

use Larc\SMPPClient\entities\{ServerConfig, SMS};
use Larc\SMPPClient\{SMSBuilder, SMPP, Code};

$config = new ServerConfig();
$config->setHost('127.0.0.1')
    ->setPort(1234)
    ->setSystemId('0000')
    ->setPassword('00000000')
    ->setCommandId(SMPP::BIND_TRANSCEIVER)
    ->setTon(SMPP::TON_ALPHANUMERIC)
    ->setNpi(SMPP::NPI_PRIVATE);
```

Uso
---

[](#uso)

#### Envío de SMS onDemand (uno a uno)

[](#envío-de-sms-ondemand-uno-a-uno)

```
$sms = new SMS();
$sms->setSender('Name')
    ->setRecipient('50760001000')
    ->setMessage('Text message')
    ->setFlash(false)
    ->setUtf(false);

$SMSBuilder = new SMSBuilder($config, $timeout, $trace);
$res = $SMSBuilder->send($sms);
```

#### Enviar SMS Tipo 0 o Flash

[](#enviar-sms-tipo-0-o-flash)

```
$sms->setFlash(true);
```

#### Enviar mensaje con caracteres latinos (tildes, ñ, ¿?, !¡)

[](#enviar-mensaje-con-caracteres-latinos-tildes-ñ--)

Coming Soon

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance40

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~464 days

Total

3

Last Release

620d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9e20ea54d446a6bc3466d73c65394dc3d056624e6198ce35ebdae2200dd72f8?d=identicon)[luisarcia](/maintainers/luisarcia)

---

Top Contributors

[![luisarcia](https://avatars.githubusercontent.com/u/17988527?v=4)](https://github.com/luisarcia "luisarcia (16 commits)")[![luisoarcian](https://avatars.githubusercontent.com/u/219317768?v=4)](https://github.com/luisoarcian "luisoarcian (5 commits)")

### Embed Badge

![Health badge](/badges/larc-smpp-client-php/health.svg)

```
[![Health](https://phpackages.com/badges/larc-smpp-client-php/health.svg)](https://phpackages.com/packages/larc-smpp-client-php)
```

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
