Provides Spot-Hit integration for Symfony Notifier.
Symfony Version | Package Version |
---|---|
~5.1.0 | 0.0.2 |
^5.2 | ^1.0.0 |
composer require yieldstudio/symfony-spot-hit-notifier
Add following line in bundles.php
:
YieldStudio\Notifier\SpotHit\SpotHitNotifierBundle::class => ['all' => true],
Add the spothit
chatter in config/packages/notifier.yaml
framework:
notifier:
texter_transports:
spothit: '%env(SPOTHIT_DSN)%'
// .env file
SPOTHIT_DSN=spothit://TOKEN@default?from=FROM
where:
TOKEN
is your Spot-Hit API keyFROM
is the custom sender (3-11 letters, default is a 5 digits phone number)
Install the Composer dependencies:
git clone https://github.com/YieldStudio/symfony-spot-hit-notifier.git
cd symfony-spot-hit-notifier
composer update
Then run the test suite:
composer test
This bundle is released under the MIT license.