azine / emailupdateconfirmation-bundle
Symfony bundle to require the user to confirm her update email address by clicking on a link sent to the new address. This should be part of the FriendsOfSymfony/UserBundle, but was not accepted as new feature by a maintainer.
Package info
github.com/azine/AzineEmailUpdateConfirmationBundle
Type:symfony-bundle
pkg:composer/azine/emailupdateconfirmation-bundle
Requires
- php: >=5.6.0
- friendsofsymfony/user-bundle: ^2.0
- monolog/monolog: ^1.6,>=1.6.0
- symfony/event-dispatcher: ^2.7|^3.0|^4.0
- symfony/http-foundation: ^2.7|^3.0|^4.0
- symfony/routing: ^2.7|^3.0|^4.0
- symfony/translation: ^2.7|^3.0|^4.0
- symfony/validator: ^2.7|^3.0|^4.0
- symfony/yaml: ^2.7|^3.0|^4.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.2
- phpunit/phpunit: ^5.7.27|^6.0|^7.0
This package is auto-updated.
Last update: 2026-05-24 21:11:15 UTC
README
Symfony bundle which allows email change confirmation workflows based on FOSUserBundle.
Requirements
- PHP 8.5+
- Symfony components 7.4+
- Composer 2
Installation
Install with Composer:
composer require azine/emailupdateconfirmation-bundle
Register the bundle:
// config/bundles.php return [ // ... Azine\EmailUpdateConfirmationBundle\AzineEmailUpdateConfirmationBundle::class => ['all' => true], ];
Register routes:
# config/routes.yaml azine_email_update_confirmation_bundle: resource: "@AzineEmailUpdateConfirmationBundle/Resources/config/routing.yml"
Configuration options
azine_email_update_confirmation: enabled: true cypher_method: null mailer: azine.email_update.mailer email_template: '@AzineEmailUpdateConfirmation/Email/email_update_confirmation.txt.twig' redirect_route: fos_user_profile_show from_email: '%fos_user.resetting.email.from_email%'
Development
Install dependencies and run tests:
composer update vendor/bin/phpunit -c phpunit.xml.dist
CI
This repository now uses GitHub Actions for automated test execution on every push and pull_request.
Legacy Travis CI configuration has been removed as part of the modernization to supported CI infrastructure.
Upgrade notes
- Minimum PHP version is now
^8.5. - Symfony component constraints are now
^7.4. - Dev tooling upgraded to modern versions (PHPUnit 11, PHP-CS-Fixer 3).
- Event dispatch usage and translator/session interfaces were modernized for Symfony 7 compatibility.