PHPackages                             markocupic/backend-password-recovery-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. markocupic/backend-password-recovery-bundle

ActiveContao-module[Authentication &amp; Authorization](/categories/authentication)

markocupic/backend-password-recovery-bundle
===========================================

Backend Password Recovery Plugin for Contao CMS

1.7.1(5mo ago)45.1k↑150%1[2 issues](https://github.com/markocupic/backend-password-recovery-bundle/issues)[1 PRs](https://github.com/markocupic/backend-password-recovery-bundle/pulls)MITPHPPHP ^8.2CI passing

Since Dec 31Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/markocupic/backend-password-recovery-bundle)[ Packagist](https://packagist.org/packages/markocupic/backend-password-recovery-bundle)[ RSS](/packages/markocupic-backend-password-recovery-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (74)Used By (0)

[![logo](./docs/logo.png)](./docs/logo.png)

Contao Backend Password Recovery Bundle
=======================================

[](#contao-backend-password-recovery-bundle)

**Never send users passwords via email.**

This plugin displays a “recover password button” **after** incorrect entry of the **backend user password**. By entering the user name or e-mail address, the user **is sent an e-mail with a link**. This allows the backend user to restore their password.

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

[](#installation)

- On your console you can run `composer require markocupic/backend-password-recovery-bundle`
- Or you can install the extension via Contao Manager.
- Don't forget to run `bin/console contao:install` or the db migration tool in Contao Manager.

The password recovery process
-----------------------------

[](#the-password-recovery-process)

If an invalid password is entered, the “Restore password” button is displayed.Enter your user name or e-mail address.User receives an e-mail with a link and sets up their new password.[![](./docs/print_screen_1.png)](./docs/print_screen_1.png)[![](./docs/print_screen_2.png)](./docs/print_screen_2.png)[![](./docs/print_screen_3.png)](./docs/print_screen_3.png)Notification Center
-------------------

[](#notification-center)

If no notification of the ‘Type Backed user: Password recovery’ has been created, Contao will automatically send an email with the recovery link using the Symfony mailer.

If you would like to send the recovery link via the Notification Center, you must first create a message of type ‘Backed user: Password recovery’ in the Contao backend.

```
Hello ##user_username##

Here is your password recovery link:

##link##

Please note that the link is only valid for ##token_lifetime## min.

Kind regards

##admin_name##

```

Configuration
-------------

[](#configuration)

No further configuration is required after installation. The **email subject** and **email text** can be customized via the **language file**.

```
// contao/languages/de/default.php
$GLOBALS['TL_LANG']['MSC']['pwRecoveryEmailSubject'] = 'Lorem ipsum';
$GLOBALS['TL_LANG']['MSC']['pwRecoveryEmailText']  = 'Lorem ipsum';

```

To increase **security**, the default **validity period** of the **link** is 10 minutes. However, this can be adjusted in the `config/config.yaml` file.

```
# config/config.yaml
markocupic_backend_password_recovery:
    token_lifetime: 900 # default 600 s (10 min)

```

By default, the “Restore password” button **is only displayed after an incorrect password** has been entered. However, this can be adjusted so that the button is **permanently visible**.

```
# config/config.yaml
markocupic_backend_password_recovery:
    show_password_recovery_link_on_login_failure_only: false # Default true

```

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance66

Regular maintenance activity

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity90

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 99.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~41 days

Recently: every ~125 days

Total

72

Last Release

151d ago

PHP version history (5 changes)1.0.0PHP &gt;=7.0

1.3.11PHP ^7.2 || ^8.0

1.3.28PHP ^7.4 || ^8.0

1.4.0PHP ^8.1

1.6.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1525166?v=4)[Marko Cupic](/maintainers/markocupic)[@markocupic](https://github.com/markocupic)

---

Top Contributors

[![markocupic](https://avatars.githubusercontent.com/u/1525166?v=4)](https://github.com/markocupic "markocupic (143 commits)")[![taca](https://avatars.githubusercontent.com/u/384611?v=4)](https://github.com/taca "taca (1 commits)")

---

Tags

contaobackendPassword Recoverypassword forgot

### Embed Badge

![Health badge](/badges/markocupic-backend-password-recovery-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/markocupic-backend-password-recovery-bundle/health.svg)](https://phpackages.com/packages/markocupic-backend-password-recovery-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k16.7M310](/packages/easycorp-easyadmin-bundle)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[scheb/2fa-bundle

A generic interface to implement two-factor authentication in Symfony applications

7014.0M62](/packages/scheb-2fa-bundle)[codefog/contao-news_categories

News Categories bundle for Contao Open Source CMS

3183.3k6](/packages/codefog-contao-news-categories)[terminal42/contao-node

Node bundle for Contao Open Source CMS

3172.5k4](/packages/terminal42-contao-node)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
