GithubHelp home page GithubHelp logo

stampie / stampie-bundle Goto Github PK

View Code? Open in Web Editor NEW
26.0 4.0 5.0 90 KB

Home Page: https://stampie.github.io/

License: MIT License

PHP 71.61% Twig 28.39%
php symfony symfony-bundle stampie mailer bundle hacktoberfest

stampie-bundle's Introduction

StampieBundle

CI

Integrates Stampie with Symfony.

$ composer require stampie/stampie-bundle

Usage

Add Stampie\StampieBundle\StampieBundle() to your AppKernel.php in the registerBundles method.

Add the configuration to config.yml as follows

stampie:
    mailer: postmark # [send_grid, postmark, mailgun, mandrill, mailjet, spark_post] are supported
    server_token: POSTMARK_API_TEST # Replace with your ServerToken for your Service

The HttpClient used by the bundle is configurable. By default, it uses the service httplug.client, which is the name of the default HTTP client when using HttplugBundle. Using this bundle is optional. You can provide your own service integrating HTTPlug:

stampie:
    http_client: my_http_client

StampieExtra

This bundles allows you to use StampieExtra easily: add the extra library in your project. The integration is activated automatically to wrap the mailer in the extra mailer dispatching events. An integration with the profiler is also provided.

If you want to enable the ImpersonateListener to send all emails to the same address, provide a non-empty delivery address:

stampie:
    extra:
        delivery_address: [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.