PHPackages                             sunnysideup/remove-orphaned-elementals - 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/remove-orphaned-elementals

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

sunnysideup/remove-orphaned-elementals
======================================

Goes through all elemental blocks and checks if they are linked to an elemenal area and if the elemental area is linked to a page. If not, it deletes them.

1.1.1(1y ago)0611BSD-3-ClausePHP

Since Apr 25Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sunnysideup/silverstripe-remove-orphaned-elementals)[ Packagist](https://packagist.org/packages/sunnysideup/remove-orphaned-elementals)[ RSS](/packages/sunnysideup-remove-orphaned-elementals/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (4)Used By (1)

Remove Orphaned Elementals in the Silverstripe CMS
==================================================

[](#remove-orphaned-elementals-in-the-silverstripe-cms)

[![Build Status](https://camo.githubusercontent.com/a4c24ab3a46d529eb0e5f27e8df78423682adaaffbc99d0171c72370b49b619d/68747470733a2f2f7472617669732d63692e6f72672f73756e6e797369646575702f73696c7665727374726970652d72656d6f76652d6f727068616e65642d656c656d656e74616c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sunnysideup/silverstripe-remove-orphaned-elementals)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a757d79231a2e22dd2c0b8a5fdfda13bb946c1a74dbf53eba704517e3aa1223c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73756e6e797369646575702f73696c7665727374726970652d72656d6f76652d6f727068616e65642d656c656d656e74616c732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sunnysideup/silverstripe-remove-orphaned-elementals/?branch=master)[![codecov.io](https://camo.githubusercontent.com/4978fe664a6b85c970aaa52990ef2065ca4f55f1179c24f3b65367bb425149e3/68747470733a2f2f636f6465636f762e696f2f6769746875622f73756e6e797369646575702f73696c7665727374726970652d72656d6f76652d6f727068616e65642d656c656d656e74616c732f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/sunnysideup/silverstripe-remove-orphaned-elementals?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/9e49360515bd70d9844d6e8c6e16ad016d45cb8b244c299110027d1f7caef647/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f72656d6f76652d6f727068616e65642d656c656d656e74616c732f76657273696f6e)](https://packagist.org/packages/sunnysideup/remove-orphaned-elementals)[![License](https://camo.githubusercontent.com/6cd16a313e72570f301cfb0a2edf8c380adcc60a7e18bf683b2247ff7f3ae614/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f72656d6f76652d6f727068616e65642d656c656d656e74616c732f6c6963656e7365)](https://packagist.org/packages/sunnysideup/remove-orphaned-elementals)[![Monthly Downloads](https://camo.githubusercontent.com/953d23e6d3671547fb8cba7f0799250ae508013284b4a5a306c830605e55148c/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f72656d6f76652d6f727068616e65642d656c656d656e74616c732f642f6d6f6e74686c79)](https://packagist.org/packages/sunnysideup/remove-orphaned-elementals)

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

[](#documentation)

- [Developer Docs](docs/en/INDEX.md)
- [User Guide](docs/en/userguide.md)
- [API Docs](http://docs.ssmods.com/sunnysideup/remove-orphaned-elementals/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/remove-orphaned-elementals
```

### Configuration

[](#configuration)

In the `_config` folder you will find the `remove-orphaned-elementals.yml.example`file that shows options for the configuration of this module.

We recommend that you:

1. copy these `remove-orphaned-elementals.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](https://www.sunnysideup.co.nz). For example, we can write tests for this module.

Author
------

[](#author)

Sunny Side Up Ltd.

Looking for Silverstripe Modules?
---------------------------------

[](#looking-for-silverstripe-modules)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance48

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

3

Last Release

388d ago

### 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 (6 commits)")

---

Tags

eandeletecleanupelementalClean upOrphanorphaned

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sunnysideup-remove-orphaned-elementals/health.svg)

```
[![Health](https://phpackages.com/badges/sunnysideup-remove-orphaned-elementals/health.svg)](https://phpackages.com/packages/sunnysideup-remove-orphaned-elementals)
```

###  Alternatives

[liborm85/composer-vendor-cleaner

Composer Vendor Cleaner removes unnecessary development files and directories from vendor directory.

35342.7k1](/packages/liborm85-composer-vendor-cleaner)[wedevelopnl/silverstripe-elemental-grid

Elemental grid module

1014.1k2](/packages/wedevelopnl-silverstripe-elemental-grid)

PHPackages © 2026

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