PHPackages                             webfactory/newsletter-registration-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. webfactory/newsletter-registration-bundle

ActiveLibrary

webfactory/newsletter-registration-bundle
=========================================

Symfony-Bundle for Newsletter-Registration

3104[2 issues](https://github.com/webfactory/WebfactoryNewsletterRegistrationBundle/issues)PHP

Since Jan 27Pushed 1y ago5 watchersCompare

[ Source](https://github.com/webfactory/WebfactoryNewsletterRegistrationBundle)[ Packagist](https://packagist.org/packages/webfactory/newsletter-registration-bundle)[ RSS](/packages/webfactory-newsletter-registration-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

WebfactoryNewsletterRegistrationBundle
======================================

[](#webfactorynewsletterregistrationbundle)

[![](https://github.com/webfactory/WebfactoryNewsletterRegistrationBundle/workflows/Tests/badge.svg)](https://github.com/webfactory/WebfactoryNewsletterRegistrationBundle/workflows/Tests/badge.svg)[![](https://github.com/webfactory/WebfactoryNewsletterRegistrationBundle/workflows/Dependencies/badge.svg)](https://github.com/webfactory/WebfactoryNewsletterRegistrationBundle/workflows/Dependencies/badge.svg)[![](https://github.com/webfactory/WebfactoryNewsletterRegistrationBundle/workflows/Coding%20Standards/badge.svg)](https://github.com/webfactory/WebfactoryNewsletterRegistrationBundle/workflows/Coding%20Standards/badge.svg)

This Symfony bundle features a newsletter registration template with attention to data avoidance for privacy protection:

- Sign up with email address only (which is also a low barrier for a better interaction rate)
- No personal data (like the email address) is saved until the newsletter recipient verifies their email address (double opt in)
- Pending opt in processes get deleted after a configurable amount of time (default: 72 hours)
- Intentionally vague messages to prevent leaking user meta information (e.g. if some email address is registered)

To reduce the amount of unwanted emails, the following ideas are implemented:

- The registration form has a simple honeypot field
- Opt in emails contain no data entered in the registration form to make them unattractive for spammers
- Opt in emails can be sent only once in a configurable time interval (default: 1 hour)
- Opt in emails contain a "block this email address" link (default: for 30 days)

Finally, the bundle tries to be developer friendly:

- Registration can be embedded as a page on it's own as well as a partial view
- Depending on the number of different newsletters, the registration and edit forms feature a newsletter selection or no disturbing element (a checkbox for a single newsletter would be silly)
- It's highly customizable due to small interfaces, Doctrine interface mapping and service replacements

Installation
------------

[](#installation)

```
composer req webfactory/newsletter-registration-bundle

```

activate in `src/bundles.php`:

```
