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(2y ago)25.2k↓46.7%1[2 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 today

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

27

—

LowBetter than 47% of packages

Maintenance8

Infrequent updates — may be unmaintained

Popularity24

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

618d 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

393813.5k10](/packages/spicyweb-craft-neo)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

293952.6k33](/packages/craftcms-feed-me)[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k69](/packages/verbb-formie)[verbb/comments

Add comments to your site.

13753.9k](/packages/verbb-comments)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)

PHPackages © 2026

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