Developed with love by KnpLabs Hire us for your project!
0

mailjetBundle

by mailjet

Symfony bundle for Mailjet API V3

Mailjet Bundle

Build Status
Packagist
Packagist
GitHub license
Documentation

Symfony bundle for handling Mailjet API V3 using this wrapper: https://github.com/mailjet/mailjet-apiv3-php

Features

  • [x] Retrieve \Mailjet\Client to make custom Mailjet API V3 requests
  • [x] SwiftMailer Transport integration
  • [x] Synchronize Contact Metadata (Contact Properties) with your config
  • [x] Synchronize your user with Mailjet contact list
  • [x] Use your own userProvider (basic FosContactProvider included to interface with FosUserBundle)
  • [x] Use lifecycle event to subscribe/unsubscribe/update/delete/changeMail user from a contact List
  • [x] 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