azine/emailupdateconfirmation-bundle
Composer 安装命令:
composer require 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.
README 文档
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.
统计信息
- 总下载量: 3.59k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-08-30