lpi-lab / newsletter-bundle
Symfony LpiNewsletterBundle
Installs: 362
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- guzzlehttp/guzzle: ^6.0
- jms/serializer: 1.0.0
- lpi-lab/kernel: 1.0.*@dev
- monolog/monolog: 1.14.0
- sonata-project/admin-bundle: 2.3.*
- sonata-project/block-bundle: 2.2.*
- sonata-project/intl-bundle: 2.2.*
- symfony/symfony: 2.6.*
Requires (Dev)
- phpunit/phpunit: 4.8.*@dev
- symfony/phpunit-bridge: 3.0.*@dev
README
<service id="newsletter_factory" class="Lpi\NewsletterBundle\Integration\UserAuthenticationFactory"/>
<service id="user.password.mailjet"
class="Lpi\NewsletterBundle\Integration\UserPasswordAuthentication"
factory-service="newsletter_factory"
factory-method="createUserPasswordAuthentication"
>
<argument>%mailjet_key%</argument>
<argument>%mailjet_secret%</argument>
</service>
<service id="lpi.mailjet.client" class="Lpi\NewsletterBundle\Integration\Mailjet\MailjetClient">
<argument type="service" id="user.password.mailjet"/>
<argument type="service" id="logger"/>
</service>
<service id="lpi.mailjet.service" class="Lpi\NewsletterBundle\Integration\Mailjet\MailjetService">
<tag name="monolog.logger" channel="newsletter"/>
<argument type="service" id="lpi.mailjet.client"/>
<argument type="service" id="logger"/>
</service>
<service id="lpi.newsletter_logger" class="Symfony\Bridge\Monolog\Logger">
<tag name="monolog.logger" channel="newsletter"/>
<argument>lpi.newsletter_logger</argument>
<argument type="service" id="monolog.handler.newsletter"/>
</service>