PHPackages                             bymayo/delete-account - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. bymayo/delete-account

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

bymayo/delete-account
=====================

Allows users to delete their own account within Twig templates (Front end).

1.0.3(3y ago)125.2k2[2 issues](https://github.com/bymayo/craft-delete-account/issues)[1 PRs](https://github.com/bymayo/craft-delete-account/pulls)MITPHPCI failing

Since Apr 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bymayo/craft-delete-account)[ Packagist](https://packagist.org/packages/bymayo/delete-account)[ RSS](/packages/bymayo-delete-account/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

> ⚠️ Looking for a Craft 4 version? Delete Account plugin is available for Craft 4, but has been completely rebuilt as a new plugin, with more features called Porter ().

[![](https://github.com/bymayo/craft-delete-account/raw/master/resources/icon.png?raw=true)](https://github.com/bymayo/craft-delete-account/blob/master/resources/icon.png?raw=true)

Delete Account for Craft CMS 3
==============================

[](#delete-account-for-craft-cms-3)

Delete Account is a Craft CMS plugin that allows users to delete their own account within Twig templates (Front end). This also adheres to GDPR rules regarding users being able to manage their own data and delete their account.

*NOTE: This only removes the users account, and doesn't remove any data they previously submitted via a Commerce order or 3rd Party plugin (Yet).*

Features
--------

[](#features)

- Set a `keyword` that needs to be correctly entered before accounts are deleted (Stops accidental deletion).
- Disallow admins from deleting their accounts on front end.

Requirements
------------

[](#requirements)

- Craft CMS 3.x
- MySQL (No PostgreSQL support)

Install
-------

[](#install)

- Install with Composer via `composer require bymayo/delete-account` from your project directory
- Install the plugin in the Craft Control Panel under `Settings > Plugins`

You can also install the plugin via the Plugin Store in the Craft Admin CP.

Config
------

[](#config)

Navigate to `Settings -> Plugins -> Delete Account -> Settings` to customise the config settings.

Or, copy the `src/config.php` top your projects config folder and rename the file `delete-account.php`.

Templating
----------

[](#templating)

You can simply output the form in your account templates by using the following method:

```
{{ craft.deleteAccount.form }}

```

If you want more control you can take the `form` template from `bymayo/deleteaccount/src/templates/form` and place this in your own template folder. Then include this with the `{% include %}` twig tag.

You can optionally grab settings from the plugin:

```
{{ craft.deleteAccount.settings('redirect') }}

```

Roadmap
-------

[](#roadmap)

- Setting to disallow users with access to CP from deleting their accounts.
- Setting to send an email to the user after deletion.
- Delete all user related Commerce orders.
- Delete all user related data in 3rd party plugins.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~505 days

Total

4

Last Release

1424d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a5965e183e46bc8706da3c84d4afdc6df46dc1c41c878894925228780b0e6c2a?d=identicon)[bymayo](/maintainers/bymayo)

---

Top Contributors

[![bymayo](https://avatars.githubusercontent.com/u/522877?v=4)](https://github.com/bymayo "bymayo (33 commits)")

---

Tags

accountcraft-cmscraft-cms-plugingdprcmsCraftcraftcmscraft-plugindelete account

### Embed Badge

![Health badge](/badges/bymayo-delete-account/health.svg)

```
[![Health](https://phpackages.com/badges/bymayo-delete-account/health.svg)](https://phpackages.com/packages/bymayo-delete-account)
```

###  Alternatives

[verbb/navigation

Create navigation menus for your site.

90683.7k17](/packages/verbb-navigation)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.1k](/packages/verbb-comments)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[supercool/tablemaker

Create customizable and user-defined table fields.

40141.7k](/packages/supercool-tablemaker)[pennebaker/craft-architect

CraftCMS plugin to generate content models from JSON/YAML data.

72148.5k5](/packages/pennebaker-craft-architect)

PHPackages © 2026

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