Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mehdibo/bulksms-notifier
Symfony Bulksms Notifier Bridge
https://github.com/mehdibo/bulksms-notifier
bulksms component notification notifier php symfony symfony-component symfony-notifier
Last synced: about 2 months ago
JSON representation
Symfony Bulksms Notifier Bridge
- Host: GitHub
- URL: https://github.com/mehdibo/bulksms-notifier
- Owner: mehdibo
- Created: 2020-05-10T09:54:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T16:36:40.000Z (2 months ago)
- Last Synced: 2024-11-15T21:52:52.042Z (about 2 months ago)
- Topics: bulksms, component, notification, notifier, php, symfony, symfony-component, symfony-notifier
- Language: PHP
- Homepage: https://symfony.com/doc/current/notifier.html
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-morocco - Bulksms-notifier - notifier.svg?style=social)](https://github.com/mehdibo/bulksms-notifier/stargazers) - A Symfony Notifier bridge for bulksms.ma (Uncategorized / Uncategorized)
README
# bulksms-notifier
[Symfony Notifier bridge](https://symfony.com/doc/current/notifier.html) to use [Bulksms.ma](https://bulksms.ma)## Requirements
[PHP 7.4](https://www.php.net/releases/7_4_0.php) or higher## Installation
Use composer to require the library:
```bash
composer require mehdibo/bulksms-notifier
```Add the token to your `.env` file
```
BULKSMS_DSN=bulksms://token_here@default?shortcode=a_shortcode
```Add `bulksms` to `config/packages/notifier.yaml`:
```yaml
framework:
notifier:
texter_transports:
bulksms: '%env(BULKSMS_DSN)%' # Add this line
```Add this to `config/services.yaml`:
```yaml
notifier.transport_factory.bulksms:
class: Mehdibo\Symfony\Notifier\Bridge\Bulksms\BulksmsTransportFactory
tags: ['texter.transport_factory']
```