dev-master
9999999-dev https://github.com/vouchedfor/ConsentBundleProvides support for email opt-in/out consent management via DynamoDb
MIT
The Requires
The Development Requires
Wallogit.com
2017 © Pedro Peláez
Provides support for email opt-in/out consent management via DynamoDb
Provides a mechanism for managing email consent via AWS DynamoDb, (*1)
Install it with composer:, (*2)
composer require vouchedfor/consent-bundle:dev-master
Then, add the following in your AppKernel bundles:, (*3)
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
...
new VouchedFor\ConsentBundle\VouchedForConsentBundle(),
...
);
...
}
Add the name of the consent table in DynamoDB to config.yml. For example:, (*4)
// app/config/config.yml
vouched_for_consent:
table_name: consent
password: secretpasswordforemailencryption
$consentHandler = $this->get('vouchedfor_consent');
$encryptedEmail = $consentHandler->encrypt('info@test.com');
$services = [
'marketing_emails': true,
'service_emails': true,
'third_party_emails: false
];
$consentHandler->update($encryptedEmail, '2018-01-03 12:30:12', $services);
The Consent Bundle is free to use and is licensed under the MIT license, (*5)
Provides support for email opt-in/out consent management via DynamoDb
MIT