PHPackages                             sol-parts/symfony-smsfly-notifier - 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. [API Development](/categories/api)
4. /
5. sol-parts/symfony-smsfly-notifier

ActiveSymfony-notifier-bridge[API Development](/categories/api)

sol-parts/symfony-smsfly-notifier
=================================

Symfony SMS-fly Notifier Bridge

v7.3.0(9mo ago)21MITPHPPHP &gt;=8.2

Since Sep 18Pushed 9mo agoCompare

[ Source](https://github.com/sol-parts/symfony-smsfly-notifier)[ Packagist](https://packagist.org/packages/sol-parts/symfony-smsfly-notifier)[ Docs](https://sol.parts)[ RSS](/packages/sol-parts-symfony-smsfly-notifier/feed)WikiDiscussions 7.3 Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

Symfony SMS-fly Notifier
========================

[](#symfony-sms-fly-notifier)

Provides [SMS-fly](https://sms-fly.ua/) integration for Symfony Notifier. SymfonySmsFlyNotifier allows you to send SMS and/or Viber messages

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

[](#installation)

```
composer require sol-parts/symfony-smsfly-notifier
```

Example use without Symfony Full-Stack Framework
------------------------------------------------

[](#example-use-without-symfony-full-stack-framework)

```
use Symfony\Component\Notifier\Message\SmsMessage;
use SolParts\SymfonySmsFlyNotifier\SmsFlyTransport;
use Psr\Log\LoggerInterface;

/** @var LoggerInterface $logger */
$logger = /*...*/;

try {
    $transport = new SmsFlyTransport('authKey', 'InfoCenter');

    $sms = new SmsMessage('+380771234567', 'My sms message');
    $sentMessage = $transport->send($sms);
}catch (\Throwable $e) {
    $logger->critical($e->getMessage());
}

dump($sentMessage->getMessageId());
// "FAPI00134035C3000004"

dump($sentMessage->getInfo());
// [
//    "success" => 1
//    "date" => "2025-09-18 14:14:01 +0300"
//    "data" => array:2 [
//      "messageID" => "FAPI00134035C3000004"
//      "sms" => array:3 [
//        "status" => "ACCEPTD"
//        "date" => "2025-09-18 14:14:01 +0300"
//        "cost" => "0.979"
//      ]
//    ]
//  ]
```

Example if you are using Symfony Full-Stack Framework
-----------------------------------------------------

[](#example-if-you-are-using-symfony-full-stack-framework)

```
# config/packages/notifier.yaml
SMSFLY_DSN=smsfly://AUTHKEY@default?from=InfoCenter

```

where:

- `AUTHKEY` is your SMS-fly auth key
- `FROM` is your sender name, should be alpha-numeral

```
use Symfony\Component\Notifier\Message\SmsMessage;
use Symfony\Component\Notifier\TexterInterface;

/** @var TexterInterface $texter */
$texter = /*...*/;

$sms = new SmsMessage('+380771234567', 'My sms message');
$texter->send($sms);
```

Adding custom Options to a Message
----------------------------------

[](#adding-custom-options-to-a-message)

With a SMS-Fly Message, you can use the `SmsFlyOptions` class to add [message options](https://github.com/sol-parts/symfony-smsfly-notifier/blob/7.3/SmsFlyOptions.php).

```
use SolParts\SymfonySmsFlyNotifier\SmsFlyOptions;
use Symfony\Component\Notifier\Message\SmsMessage;

$options = (new SmsFlyOptions())
    // Message sending channels.
    // Available values are viber, sms. If you specify multiple channels, the message is sent to the channels in order of priority.
    // The message is sent to the next channel if delivery to the previous one was not successful.
    // If not specified, ['sms'] will be used.
    ->channels(['viber', 'sms'])
    ->viber_source('Promo') // The Viber sender name, if not specified, will be the same as for SMS.
    ->viber_text('🎁 A special gift from Example Corp is here') // Optional field, Viber message text up to 1000 characters long. If not specified, the SMS message text will be used.
    ->viber_button_caption('Go to site') // Optional field
    ->viber_button_url('https://example.com/') // Optional field
    ->viber_image('https://example.com/image.jpg') // Optional field
    ->ttl(1440)
    ;

/** @var SmsMessage $sms */
$sms = /*...*/;
$sms->options($options);
```

Resources
---------

[](#resources)

- [Main Symfony SMS Channel Notifications](https://symfony.com/doc/current/notifier.html#sms-channel)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance56

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Total

2

Last Release

290d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/111976742?v=4)[AndriiDidenko](/maintainers/AndriiDidenko)[@AndriiDidenko](https://github.com/AndriiDidenko)

---

Top Contributors

[![kikasso](https://avatars.githubusercontent.com/u/1504352?v=4)](https://github.com/kikasso "kikasso (6 commits)")

---

Tags

symfonynotifiersmssmsfly

### Embed Badge

![Health badge](/badges/sol-parts-symfony-smsfly-notifier/health.svg)

```
[![Health](https://phpackages.com/badges/sol-parts-symfony-smsfly-notifier/health.svg)](https://phpackages.com/packages/sol-parts-symfony-smsfly-notifier)
```

###  Alternatives

[symfony/fake-sms-notifier

Fake SMS (as email or log during development) Notifier Bridge.

27863.3k1](/packages/symfony-fake-sms-notifier)[symfony/twilio-notifier

Symfony Twilio Notifier Bridge

131.3M2](/packages/symfony-twilio-notifier)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)

PHPackages © 2026

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