2017 © Pedro Peláez
 

symfony-bundle mindbaz-bundle

Symfony bundle to provide a Mindbaz SwiftMailer service

image

kozikaza/mindbaz-bundle

Symfony bundle to provide a Mindbaz SwiftMailer service

  • Thursday, April 27, 2017
  • by daviddlv
  • Repository
  • 2 Watchers
  • 2 Stars
  • 1,561 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 11 % Grown

The README.md

MindbazBundle

Symfony bundle to provide a Mindbaz SwiftMailer service., (*1)

Feel free to contribute on it!, (*2)

Build Status Scrutinizer Code Quality, (*3)

Installation

Installing MindbazBundle can be done easily through Composer:, (*4)

composer require kozikaza/mindbaz-bundle

Register this bundle in your kernel:, (*5)

// app/AppKernel.php
public function registerBundles()
{
    $bundles = [
        new Kozikaza\MindbazBundle\MindbazBundle(),
        // ...
    ];

    // ...
}

Configuration

Edit your configuration file to declare your Mindbaz mailer with credentials & campaigns:, (*6)

# config.yml
swiftmailer:
    default_mailer: direct
    mailers:
        direct:
            transport: "%mailer_transport%"
            host:      "%mailer_host%"
            username:  "%mailer_user%"
            password:  "%mailer_password%"
            port:      "%mailer_port%"
            spool:
                type:  memory
        mindbaz:
            id_site:   123      # Must be integer
            username:  foo
            password:  p4$$w0rd
            campaigns:
                register:        123
                forgot-password: 456

Don't forget to change credentials & campaigns in previous example!, (*7)

Credits

Created by David DELEVOYE & Vincent CHALAMON., (*8)

The Versions