2017 © Pedro Peláez
 

library mailjetbundle

Mailjet Bundle for Symfony 2

image

gwk/mailjetbundle

Mailjet Bundle for Symfony 2

  • Monday, February 11, 2013
  • by gwkunze
  • Repository
  • 4 Watchers
  • 0 Stars
  • 294 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Symfony 2 Mailjet Extension

This bundle makes the mailjet library easy to use from a Symfony 2 library, (*1)

Installation

Simply add the following to your composer.json file, (*2)

{
    "require": {
        "gwk/mailjetbundle": "0.1"
    }
}

And use composer to install the bundle:, (*3)

composer.phar update gwk/mailjetbundle

Now add the bundle to your app/AppKernel.php:, (*4)

$bundles[] = new GWK\MailjetBundle\GWKMailjetBundle();

Configuration

gwk_mailjet:
    api_key: "YOUR API KEY" # Required
    secret_key: "YOUR SECRET KEY" # Required
    debug: true # Optional, defaults to %kernel.debug%
    debug_level: 2 # Optional, Mailjet debug level, defaults to 1 not used if debug = false
    format: xml # Optional, the format in which to receive results, defaults to json

Usage

In your code simply request the "mailjet" service to start using it:, (*5)

$mailjet = $this->get("mailjet");

$mailjet->listsAddContact(array('method' => 'POST', 'contact' => 'foo@bar.com', 'id' => '%list_id%'));

License

MIT, See LICENSE, (*6)

WARNING Mailjet has attached no license to their library so I'm assuming it's public domain code., (*7)

The Versions

11/02 2013

dev-master

9999999-dev

Mailjet Bundle for Symfony 2

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Gijs Kunze

11/02 2013

0.1.2

0.1.2.0

Mailjet Bundle for Symfony 2

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Gijs Kunze

07/02 2013

0.1.1

0.1.1.0

Mailjet Bundle for Symfony 2

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Gijs Kunze

07/02 2013

0.1

0.1.0.0

Mailjet Bundle for Symfony 2

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

by Gijs Kunze