{"id":15287414,"url":"https://github.com/pixelart/swiftmailer-manipulator-bundle","last_synced_at":"2025-07-25T02:32:23.524Z","repository":{"id":57041998,"uuid":"70606516","full_name":"pixelart/swiftmailer-manipulator-bundle","owner":"pixelart","description":"Manipulates outgoing mails from Swiftmailer","archived":false,"fork":false,"pushed_at":"2016-12-03T12:06:43.000Z","size":47,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-01T15:28:07.280Z","etag":null,"topics":["bundle","development","php","staging","swiftmailer","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pixelart.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-11T15:16:43.000Z","updated_at":"2016-10-27T00:20:47.000Z","dependencies_parsed_at":"2022-08-23T23:40:12.246Z","dependency_job_id":null,"html_url":"https://github.com/pixelart/swiftmailer-manipulator-bundle","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelart%2Fswiftmailer-manipulator-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelart%2Fswiftmailer-manipulator-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelart%2Fswiftmailer-manipulator-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelart%2Fswiftmailer-manipulator-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelart","download_url":"https://codeload.github.com/pixelart/swiftmailer-manipulator-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219847001,"owners_count":16556416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundle","development","php","staging","swiftmailer","symfony","symfony-bundle"],"created_at":"2024-09-30T15:28:05.789Z","updated_at":"2024-10-14T18:21:31.001Z","avatar_url":"https://github.com/pixelart.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Swiftmailer Manipulator for Symfony\n===================================\n\n[![Build Status](https://travis-ci.org/pixelart/swiftmailer-manipulator-bundle.svg?branch=master)](https://travis-ci.org/pixelart/swiftmailer-manipulator-bundle)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/pixelart/swiftmailer-manipulator-bundle/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/pixelart/swiftmailer-manipulator-bundle/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/pixelart/swiftmailer-manipulator-bundle/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/pixelart/swiftmailer-manipulator-bundle/?branch=master)\n[![Code Style](https://styleci.io/repos/70606516/shield?style=flat)](https://styleci.io/repos/70606516)\n\nSometimes you have staging systems, where you can't install [MailHog] and\nusing `delivery_address` or `disable_delivery` on the SwiftmailerBundle is\nnot enough. For example your customer wants the mail to be really delivered.\n\nBut maybe the crafted mail goes to a partner, retailer, user, whatever and now\nthey are worried why they got them (for example notification systems).\n\nThis bundle can help you! It provides a plugin into Swiftmailer, which allows\nyou to modify the subject or body or the from address of every message before\ndelivery.\n\nInstallation\n------------\n\n### Step 1: Download the Bundle\n\nOpen a command console, enter your project directory and execute the\nfollowing command to download the latest stable version of this bundle:\n\n```console\n$ composer require pixelart/swiftmailer-manipulator-bundle ^1.0\n```\n\nThis command requires you to have Composer installed globally, as explained\nin the [installation chapter][composer global install] of the Composer\ndocumentation.\n\n### Step 2: Enable the Bundle\n\nThen, enable the bundle by adding it to the list of registered bundles\nin the `app/AppKernel.php` file of your project:\n\n```php\n\u003c?php\n// app/AppKernel.php\n\n// ...\nclass AppKernel extends Kernel\n{\n    public function registerBundles()\n    {\n        $bundles = array(\n            // ...\n\n            new Pixelart\\Bundle\\SwiftmailerManipulatorBundle\\PixelartSwiftmailerManipulatorBundle(),\n        );\n\n        // ...\n    }\n\n    // ...\n}\n```\n\nFor more informations, see the [configuration page](Resources/doc/configuration.md).\n\nFull configuration options\n--------------------------\n\n```yaml\n# app/config/config.yml\n\npixelart_swiftmailer_manipulator:\n    mailers:\n        first_mailer:\n            prepend_subject: 'String prepend to subject'  # String which is prepended onto the subject\n            prepend_body: 'path/to/prepend_body.txt.twig' # Path to template which is prepended onto the mail body\n            from_address: 'altered-form@example.com'      # The address message should be sent from\n        second_mailer:\n            # ...\n```\n\n\nContributing\n------------\n\nThe [contributing](CONTRIBUTING.md) guidelines contains all the information\nabout contributing to the bundle.\n\nBug tracking\n------------\n\nWe use [GitHub issues](https://github.com/pixelart/swiftmailer-manipulator-bundle/issues)\nand [waffle.io board](https://waffle.io/pixelart/swiftmailer-manipulator-bundle)\nto track issues. If you have found bug, please create an issue.\n\nMIT License\n-----------\n\nLicense can be found [here](LICENSE).\n\nCode of Conduct\n---------------\n\nThis project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.md).\nBy participating, you are expected to uphold this code.\n\n[MailHog]: https://github.com/mailhog/MailHog\n[composer global install]: https://getcomposer.org/doc/00-intro.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelart%2Fswiftmailer-manipulator-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelart%2Fswiftmailer-manipulator-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelart%2Fswiftmailer-manipulator-bundle/lists"}