PHPackages                             procergs/sms-service - 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. procergs/sms-service

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

procergs/sms-service
====================

PROCERGS SMS Service

3.0.0(7y ago)02.8k↓16.7%[1 issues](https://github.com/PROCERGS/sms-service/issues)PHPPHP &gt;=5.4.16

Since Apr 3Pushed 7y ago4 watchersCompare

[ Source](https://github.com/PROCERGS/sms-service)[ Packagist](https://packagist.org/packages/procergs/sms-service)[ RSS](/packages/procergs-sms-service/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (7)Versions (8)Used By (0)

PROCERGS SMS Service
====================

[](#procergs-sms-service)

**This is for internal use only.** If you do not work at PROCERGS or any of its software, this is most certainly not useful to you.

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

[](#installation)

**Important**: Currently this lib depends on [RestClientBundle](https://github.com/CircleOfNice/CiRestClientBundle)so you'll have to load this bundle onto Symfony. We will change to Guzzle 6 HTTP client as soon as PROCERGS updates it's PHP servers.

Run the following command to add the composer dependency and install it:

```
composer require procergs/sms-service

```

If you are using Symfony, enable RestClientBundle on your `AppKernel.php`:

```
public function registerBundles()
{
    $bundles = array(
        // ...
        new Circle\RestClientBundle\CircleRestClientBundle(),
    );
}
```

Or just initialize it:

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

$optionsHandler = new \Circle\RestClientBundle\Services\CurlOptionsHandler([]);
$curl = new \Circle\RestClientBundle\Services\Curl($optionsHandler);
$client = new \Circle\RestClientBundle\Services\RestClient($curl);
```

Usage
-----

[](#usage)

You can send a message with the following code:

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

use libphonenumber\PhoneNumber;
use PROCERGS\Sms\SmsService;
use PROCERGS\Sms\Model\SmsServiceConfiguration;

$client = /* initialize or get HTTP client from Symfony */;

$config = new SmsServiceConfiguration(
    'https://some.address/send',
    'https://some.address/receive',
    'https://some.address/status/{id}',
    'auth realm',
    'SystemID',
    'your_secret_key',
    true
);

$service = new SmsService($client, $config);

$to = new PhoneNumber();
$to->setCountryCode('55')
    ->setNationalNumber('51987654321');

try {
    $response = $service->easySend($to, "hello world!");
    var_dump($response);
} catch (\Exception $e) {
    var_dump($e->getMessage());
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~69 days

Recently: every ~104 days

Total

7

Last Release

2915d ago

Major Versions

1.2.0 → 2.0.02017-12-14

2.0.0 → 3.0.02018-05-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/7755c24fba48294654eb131fe5b3fb8f22aa8dc5504dd42afcf4666bd1182ee4?d=identicon)[guilhermednt](/maintainers/guilhermednt)

---

Top Contributors

[![guilhermednt](https://avatars.githubusercontent.com/u/860796?v=4)](https://github.com/guilhermednt "guilhermednt (43 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/procergs-sms-service/health.svg)

```
[![Health](https://phpackages.com/badges/procergs-sms-service/health.svg)](https://phpackages.com/packages/procergs-sms-service)
```

###  Alternatives

[illuminate/cookie

The Illuminate Cookie package.

224.3M122](/packages/illuminate-cookie)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[numero2/contao-storelocator

Contao Plugin for managing stores (or in common address data) and providing a frontend-search based on geo data

121.5k](/packages/numero2-contao-storelocator)[robole/sulu-ai-translator-bundle

Translate any type of content using DeepL

181.3k](/packages/robole-sulu-ai-translator-bundle)

PHPackages © 2026

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