mailjet5 / mailjet-bundle5
Symfony bundle for Mailjet API V3
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Type:symfony-bundle
Requires
- php: >=5.4
- mailjet/mailjet-apiv3-php: ^1.2
- mailjet/mailjet-swiftmailer: dev-develop@stable
Requires (Dev)
- phpspec/phpspec: ~2@dev
- symfony/symfony: >3.9
This package is not auto-updated.
Last update: 2025-03-19 23:14:20 UTC
README
Symfony bundle for handling Mailjet API V3 using this wrapper: https://github.com/mailjet/mailjet-apiv3-php
Features
- 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
FosContactProvider
included 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)
Setup
Add bundle to your project:
composer require mailjet/mailjet-bundle
Add Mailjet\MailjetBundle\MailjetBundle
to your AppKernel.php
:
$bundles = [ // ... new Mailjet\MailjetBundle\MailjetBundle(), ];
Minimal Configuration
In your config.yml
:
mailjet: api_key: "%mailjet.api_key%" secret_key: "%mailjet.secret_key%"
ToDo
- More unit tests
- Functionnal tests
- Other features like Campaigns, stats, ...
Contributing
If you want to contribute to this project, look at over here