PHPackages                             avtonom/sms-streamtelecom-bundle - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. avtonom/sms-streamtelecom-bundle

ActiveSymfony-bundle[Mail &amp; Notifications](/categories/mail)

avtonom/sms-streamtelecom-bundle
================================

Provider to send SMS notifications for Symfony2 bundle for PHP

v1.1.0(8y ago)1778MITPHPPHP &gt;=5.3.2

Since Nov 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Avtonom/sms-streamtelecom-bundle)[ Packagist](https://packagist.org/packages/avtonom/sms-streamtelecom-bundle)[ Docs](https://github.com/Avtonom/sms-streamtelecom-bundle)[ RSS](/packages/avtonom-sms-streamtelecom-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

Avtonom SMS notifications bundle by Stream Telecom
==================================================

[](#avtonom-sms-notifications-bundle-by-stream-telecom)

Provider to send SMS notifications for Symfony2 bundle for PHP by Stream Telecom (stream-telecom.ru). Use KPhoenSmsSenderBundle for Symfony and Carpe-Hora/SmsSender.

Page bundle:

Features
--------

[](#features)

- Get the session ID (receiving the token, authorization)
- Sending a single SMS message (without taking into account the recipient's time zone)
- Getting user balance
- Validation of input data through a standard functional forms.

Maybe in the future:

- Security (blocking) from overly frequent messaging.

### HttpAdapters

[](#httpadapters)

*HttpAdapters* are responsible to get data from remote APIs.

Currently, there are the following adapters:

- `CurlHttpAdapter` for [cURL](http://php.net/manual/book.curl.php); (recommended)
- `BuzzHttpAdapter` for [Buzz](https://github.com/kriswallsmith/Buzz), a lightweight PHP 5.3 library for issuing HTTP requests; (For additional installation of this dependence)

#### To Install

[](#to-install)

Run the following in your project root, assuming you have composer set up for your project

```
composer.phar require avtonom/sms-streamtelecom-bundle ~1.1
```

Switching `~1.1` for the most recent tag.

Add the bundle to app/AppKernel.php

```
$bundles(
    ...
       new KPhoen\SmsSenderBundle\KPhoenSmsSenderBundle(),
       new Avtonom\Sms\StreamtelecomBundle\AvtonomSmsStreamtelecomBundle(),
    ...
);
```

Configuration options (config.yaml):

```
k_phoen_sms_sender:
    pool:         ~   # right now, only "memory" is supported
    providers:    [streamtelecom]
    factories:    [ "%kernel.root_dir%/../vendor/avtonom/sms-streamtelecom-bundle/Avtonom/Sms/StreamtelecomBundle/Resources/config/provider_factories.xml" ]

    streamtelecom:
        login:     %sms.provider.streamtelecom.login%
        password:  %sms.provider.streamtelecom.password%
        originators:  %sms.provider.streamtelecom.originators%
```

Configuration options (parameters.yaml):

```
parameters:
    sms.provider.streamtelecom.login: ~
    sms.provider.streamtelecom.password: ~
    sms.provider.streamtelecom.originators: [] # Leave an empty array if there is no strict checking the sender's name

```

Create a logger named "avtonom\_sms.logger". Sample code (services.yml):

```
services:
    avtonom_sms.logger:
        public: true
        class: Symfony\Bridge\Monolog\Logger
        arguments: [sms]

```

#### Use

[](#use)

```
try {
    $sendResult = $this->get('sms.sender')->send('0642424242', 'It\'s the answer.', 'Kévin');
} catch(\SmsSender\Exception\WrappedException $e){
    if($e->getWrappedException() && $e->getWrappedException() instanceof \SmsSender\Exception\AdapterException){
        $smsException = new \Exception($e->getWrappedException()->getMessage(), $e->getWrappedException()->getCode(), $e);
        if($e->getWrappedException()->getData()){
            var_dump($e->getWrappedException()->getData()); // request data
        }

    }
    throw $smsException;
}
```

### Need Help?

[](#need-help)

1. Create an issue if you've found a bug,

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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 ~111 days

Total

3

Last Release

3238d ago

Major Versions

v0.1.1 → v1.0.02016-11-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/851a2d4f8d02604c04bd2c4331a901e4fc92ed7ec1371cbceafb48c2495efc8c?d=identicon)[avtonomspb](/maintainers/avtonomspb)

---

Top Contributors

[![Avtonom](https://avatars.githubusercontent.com/u/988367?v=4)](https://github.com/Avtonom "Avtonom (1 commits)")

---

Tags

bundlenotificationSymfony2smsstreamtelecomstream-telecomszk-infoszk

### Embed Badge

![Health badge](/badges/avtonom-sms-streamtelecom-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/avtonom-sms-streamtelecom-bundle/health.svg)](https://phpackages.com/packages/avtonom-sms-streamtelecom-bundle)
```

###  Alternatives

[mcfedr/awspushbundle

A set of services to simplify using Aws to send push notifications

40378.6k1](/packages/mcfedr-awspushbundle)[ras/flash-alert-bundle

FlashAlertBundle provides a simplified way to handle (add/display) Symfony flash messages. Client side scripts are written in pure JavaScript.

2423.3k](/packages/ras-flash-alert-bundle)[taiwan-sms/every8d

every8d sms api client

1817.8k](/packages/taiwan-sms-every8d)[hooman-mirghasemi/laravel-iran-sms

Laravel Sms

241.8k](/packages/hooman-mirghasemi-laravel-iran-sms)

PHPackages © 2026

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