PHPackages                             ryssbowh/craft-restrict-deletions - 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. ryssbowh/craft-restrict-deletions

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

ryssbowh/craft-restrict-deletions
=================================

View elements relations and restrict deletion of elements when they are referenced in other elements

3.0.1(1y ago)25.2k↑200%1[1 issues](https://github.com/ryssbowh/craft-restrict-deletions/issues)MITPHP

Since Aug 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ryssbowh/craft-restrict-deletions)[ Packagist](https://packagist.org/packages/ryssbowh/craft-restrict-deletions)[ RSS](/packages/ryssbowh-craft-restrict-deletions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (20)Used By (0)

Restrict Element deletions
==========================

[](#restrict-element-deletions)

This plugin can prevent deletion of elements (entries, assets, categories, products and users) if they are referenced in other elements.

The idea is taken from the plugin [Restrict Asset Delete](https://github.com/la-haute-societe/craft-restrict-asset-delete), improved to apply to all elements, and made Craft 4/5 ready.

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

[](#installation)

`composer require ryssbowh/craft-restrict-deletions:^3.0`

Documentation
-------------

[](#documentation)

[Plugin documentation website](https://www.webpuzzlers.co.uk/plugins/restrict-element-deletions/3.x)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance24

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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 ~44 days

Total

19

Last Release

566d ago

Major Versions

1.0.0 → 2.0.02022-08-12

1.0.1 → 2.0.12022-08-17

1.0.2 → 2.0.22022-10-12

1.0.3 → 2.1.02023-10-27

2.2.1 → 3.0.02024-04-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6736613?v=4)[The Web Puzzlers](/maintainers/ryssbowh)[@ryssbowh](https://github.com/ryssbowh)

---

Top Contributors

[![ryssbowh](https://avatars.githubusercontent.com/u/6736613?v=4)](https://github.com/ryssbowh "ryssbowh (11 commits)")

---

Tags

cmscraftcmsdeleterelationrestrictrelateddeletion

### Embed Badge

![Health badge](/badges/ryssbowh-craft-restrict-deletions/health.svg)

```
[![Health](https://phpackages.com/badges/ryssbowh-craft-restrict-deletions/health.svg)](https://phpackages.com/packages/ryssbowh-craft-restrict-deletions)
```

###  Alternatives

[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

395798.1k10](/packages/spicyweb-craft-neo)[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)[craftcms/ckeditor

Edit rich text content in Craft CMS using CKEditor.

48359.1k52](/packages/craftcms-ckeditor)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)

PHPackages © 2026

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