PHPackages                             sunnysideup/avoid-child-deletion - 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. sunnysideup/avoid-child-deletion

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

sunnysideup/avoid-child-deletion
================================

Avoid deleting pages that have children or are the home page of your website.

3.1.0(2y ago)01.2k↓33.3%1BSD-3-ClausePHP

Since Apr 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sunnysideup/silverstripe-avoid-child-deletion)[ Packagist](https://packagist.org/packages/sunnysideup/avoid-child-deletion)[ RSS](/packages/sunnysideup-avoid-child-deletion/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (1)

Silverstripe Avoid Child Deletion module
========================================

[](#silverstripe-avoid-child-deletion-module)

[![Build Status](https://camo.githubusercontent.com/1d4ad900ea6091604bb0d4ed69d35a10dd0c8acdb76d5d1a0c667a31797e2ae4/68747470733a2f2f7472617669732d63692e6f72672f73756e6e797369646575702f73696c7665727374726970652d61766f69642d6368696c642d64656c6574696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sunnysideup/silverstripe-avoid-child-deletion)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/bfbce0bb422ee18a7c60e3503a631f0665d5201af33e29ec1ec2c0c4d57120c8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73756e6e797369646575702f73696c7665727374726970652d61766f69642d6368696c642d64656c6574696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sunnysideup/silverstripe-avoid-child-deletion/?branch=master)[![codecov.io](https://camo.githubusercontent.com/59326a091d90dd89f99a335bd1145e9f11f2967866855ded9f8d9030a4ad917c/68747470733a2f2f636f6465636f762e696f2f6769746875622f73756e6e797369646575702f73696c7665727374726970652d61766f69642d6368696c642d64656c6574696f6e2f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/sunnysideup/silverstripe-avoid-child-deletion?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/bb2048800ccc392c58036d27b5a503ed9eabda6920f81a28ea645841e8c14358/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f61766f69642d6368696c642d64656c6574696f6e2f76657273696f6e)](https://packagist.org/packages/sunnysideup/avoid-child-deletion)[![License](https://camo.githubusercontent.com/b519007dd56e74cc696c37d661bda5605d3cdeca5d3627c7dfa2743437714894/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f61766f69642d6368696c642d64656c6574696f6e2f6c6963656e7365)](https://packagist.org/packages/sunnysideup/avoid-child-deletion)[![Monthly Downloads](https://camo.githubusercontent.com/81e7fe613c59356d6e3c16405c0c2ccaf2968aa48a3ba2a74cb6a08a7e7145f4/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f61766f69642d6368696c642d64656c6574696f6e2f642f6d6f6e74686c79)](https://packagist.org/packages/sunnysideup/avoid-child-deletion)

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

[](#documentation)

- [Developer Docs](docs/en/INDEX.md)
- [User Guide](docs/en/userguide.md)
- [API Docs](http://docs.ssmods.com/sunnysideup/avoid-child-deletion/classes.xhtml)

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

[](#requirements)

See [composer.json](composer.json) for details

### Suggested Modules

[](#suggested-modules)

See [composer.json](composer.json) for details

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

[](#installation)

```
composer require sunnysideup/avoid-child-deletion

```

### Configuration

[](#configuration)

In the `_config` folder you will find the `avoid-child-deletion.yml.example`file that shows options for the configuration of this module.

We recommend that you:

1. copy these `avoid-child-deletion.yml.example` files into your `app/_config` folder (where available - otherwise search for `private static $` in the module to see what can be configured)
2. remove the .example extension,
3. delete the lines you do not care about, and
4. adjust the configurations that you would like to use.

Contributing
------------

[](#contributing)

We welcome any contributions. See [CONTRIBUTING.md](CONTRIBUTING.md) for more details.

Paid assistance
---------------

[](#paid-assistance)

You can pay us to create an improved / adapted version of this module for your own projects. Please contact us if you like to find out more: [www.sunnysideup.co.nz](http://www.sunnysideup.co.nz). For exmaple, we can write tests for this module.

Author
------

[](#author)

Sunny Side Up Ltd.

Care to see more modules?
-------------------------

[](#care-to-see-more-modules)

To find other modules, please visit [ssmods.com](http://ssmods.com/).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

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

Recently: every ~205 days

Total

8

Last Release

1035d ago

Major Versions

1.0.4 → 2.0.02023-07-11

2.0.0 → 3.0.02023-07-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/167154?v=4)[Sunny Side Up](/maintainers/sunnysideup)[@sunnysideup](https://github.com/sunnysideup)

---

Top Contributors

[![sunnysideup](https://avatars.githubusercontent.com/u/167154?v=4)](https://github.com/sunnysideup "sunnysideup (23 commits)")

---

Tags

linkarchivesilverstripecmshomepageSilverstripe-CMSdeletehome pagecarefulcascade deletesparents and children

### Embed Badge

![Health badge](/badges/sunnysideup-avoid-child-deletion/health.svg)

```
[![Health](https://phpackages.com/badges/sunnysideup-avoid-child-deletion/health.svg)](https://phpackages.com/packages/sunnysideup-avoid-child-deletion)
```

###  Alternatives

[sunnysideup/typography

Add a typography test page to your silverstripe website / application.

124.2k3](/packages/sunnysideup-typography)

PHPackages © 2026

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