Symfony bundle for handling Mailjet API V3 using this wrapper: https://github.com/mailjet/mailjet-apiv3-php
- Retrieve \Mailjet\Client to make custom Mailjet API V3 requests
- SwiftMailer Transport integration
- Synchronize Contact Metadata (Contact Properties) with your config
- Synchronize your user with Mailjet contact list
- Use your own userProvider (basic
FosContactProviderincluded to interface with FosUserBundle) - Use lifecycle event to subscribe/unsubscribe/update/delete/changeMail user from a contact List
- Register Event API - real time notifications (webhook)
Add bundle to your project:
composer require mailjet/mailjet-bundleAdd Mailjet\MailjetBundle\MailjetBundle to your AppKernel.php:
$bundles = [
// ...
new Mailjet\MailjetBundle\MailjetBundle(),
];In your config.yml:
mailjet:
api_key: "%mailjet.api_key%"
secret_key: "%mailjet.secret_key%"- More unit tests
- Functionnal tests
- Other features like Campaigns, stats, ...
If you want to contribute to this project, look at over here