Skip to content

Xusifob/mailjetBundle

This branch is 2 commits ahead of mailjet/mailjetBundle:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

88d8282 · Jul 14, 2023
May 4, 2021
Jul 14, 2023
Dec 7, 2016
May 4, 2021
Jun 16, 2017
Jun 16, 2017
Nov 30, 2018
Jul 14, 2023
Jun 26, 2017
Jun 16, 2017

Repository files navigation

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

  • 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 Mailjet\MailjetBundle\MailjetBundle to your bundles.php:

$bundles = [
    // ...
    Mailjet\MailjetBundle\MailjetBundle::class => ['all' => true]
];

Minimal Configuration

In your config.yml add:

mailjet:
    api_key:    "%mailjet.api_key%"
    secret_key: "%mailjet.secret_key%"

Add bundle to your project:

composer require mailjet/mailjet-bundle

ToDo

  • More unit tests
  • Functionnal tests
  • Other features like Campaigns, stats, ...

Contributing

If you want to contribute to this project, look at over here

About

Symfony bundle for Mailjet API V3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.6%
  • Twig 2.4%