PHPackages                             symfony/primotexto-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. symfony/primotexto-notifier

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

symfony/primotexto-notifier
===========================

Symfony Primotexto Notifier Bridge

v8.0.0(9mo ago)337MITPHPPHP &gt;=8.4

Since Sep 27Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/symfony/primotexto-notifier)[ Packagist](https://packagist.org/packages/symfony/primotexto-notifier)[ Docs](https://symfony.com)[ Fund](https://symfony.com/sponsor)[ GitHub Sponsors](https://github.com/fabpot)[ RSS](/packages/symfony-primotexto-notifier/feed)WikiDiscussions 8.1 Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (17)Used By (0)

Primotexto Notifier
===================

[](#primotexto-notifier)

Provides [Primotexto](https://www.primotexto.com/) integration for Symfony Notifier.

DSN example
-----------

[](#dsn-example)

```
PRIMOTEXTO_DSN=primotexto://APIKEY@default?from=FROM

```

where:

- `APIKEY` is your Primotexto API key
- `FROM` is your sender name

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

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

With a Primotexto Message, you can use the `PrimotextoOptions` class to add [message options](https://www.primotexto.com/api/sms/notification.asp).

```
use Symfony\Component\Notifier\Message\SmsMessage;
use Symfony\Component\Notifier\Bridge\Primotexto\PrimotextoOptions;

$sms = new SmsMessage('+1411111111', 'My message');

$options = (new PrimotextoOptions())
    ->campaignName('Code de confirmation')
    ->category('codeConfirmation')
    ->campaignDate(1398177000000)
    // ...
    ;

// Add the custom options to the sms message and send the message
$sms->options($options);

$texter->send($sms);
```

Resources
---------

[](#resources)

- [Primotexto error codes](https://www.primotexto.com/api/plus/code_erreurs)
- [Contributing](https://symfony.com/doc/current/contributing/index.html)
- [Report issues](https://github.com/symfony/symfony/issues) and [send Pull Requests](https://github.com/symfony/symfony/pulls)in the [main Symfony repository](https://github.com/symfony/symfony)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance64

Regular maintenance activity

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~0 days

Total

17

Last Release

284d ago

Major Versions

v7.4.0-RC1 → 8.1.x-dev2025-08-01

PHP version history (2 changes)7.2.x-devPHP &gt;=8.2

8.1.x-devPHP &gt;=8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47313?v=4)[Fabien Potencier](/maintainers/fabpot)[@fabpot](https://github.com/fabpot)

---

Top Contributors

[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (4 commits)")[![xabbuh](https://avatars.githubusercontent.com/u/1957048?v=4)](https://github.com/xabbuh "xabbuh (3 commits)")[![derrabus](https://avatars.githubusercontent.com/u/1506493?v=4)](https://github.com/derrabus "derrabus (1 commits)")[![fabpot](https://avatars.githubusercontent.com/u/47313?v=4)](https://github.com/fabpot "fabpot (1 commits)")

---

Tags

componentnotifierphpprimotextosmssymfonysymfony-componentnotifiersmsprimotexto

### Embed Badge

![Health badge](/badges/symfony-primotexto-notifier/health.svg)

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

###  Alternatives

[symfony/fake-sms-notifier

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

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

Symfony Twilio Notifier Bridge

131.2M2](/packages/symfony-twilio-notifier)[symfony/free-mobile-notifier

Symfony Free Mobile Notifier Bridge

2061.6k](/packages/symfony-free-mobile-notifier)[symfony/sendinblue-notifier

Symfony Sendinblue Notifier Bridge

12106.1k](/packages/symfony-sendinblue-notifier)[symfony/sinch-notifier

Symfony Sinch Notifier Bridge

10146.7k](/packages/symfony-sinch-notifier)[symfony/mailjet-notifier

Symfony Mailjet Notifier Bridge

1362.5k](/packages/symfony-mailjet-notifier)

PHPackages © 2026

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