PHPackages                             runelaenen/sw6-order-cleanup - 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. [Admin Panels](/categories/admin)
4. /
5. runelaenen/sw6-order-cleanup

ActiveShopware-platform-plugin[Admin Panels](/categories/admin)

runelaenen/sw6-order-cleanup
============================

Adds an admin button to clear all placed orders, documents and reset number generators

v7.0.0(2mo ago)2472MITPHP

Since Mar 24Pushed 2mo agoCompare

[ Source](https://github.com/runelaenen/sw6-order-cleanup)[ Packagist](https://packagist.org/packages/runelaenen/sw6-order-cleanup)[ RSS](/packages/runelaenen-sw6-order-cleanup/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (3)Versions (7)Used By (0)

Order Cleanup
=============

[](#order-cleanup)

A Shopware 6 plugin for clearing all placed orders, documents and resetting number generators. Useful for resetting development or staging environments to a clean state.

Features
--------

[](#features)

- Deletes all orders and related data (line items, transactions, deliveries, addresses)
- Deletes all order documents (invoices, credit notes, delivery notes, cancellations)
- Deletes document media files (PDFs) from the media library
- Resets order-related number range counters (`order`, `document_invoice`, `document_storno`, `document_delivery_note`, `document_credit_note`) so numbering restarts from the configured start value
- Available via a dedicated admin page and a CLI command

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

[](#requirements)

- Shopware 6.6

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

[](#installation)

```
composer require runelaenen/sw6-order-cleanup
bin/console plugin:install --activate OrderCleanup
bin/console cache:clear
bin/build-administration.sh # Or comparable command
```

Usage
-----

[](#usage)

### Admin

[](#admin)

Navigate to **Settings → System → Order Cleanup**. Click **Clear all orders** and confirm the dialog.

> **Warning:** This action is irreversible and will permanently delete all order data.

### CLI

[](#cli)

```
bin/console order-cleanup:clear
```

To skip the confirmation prompt (e.g. in scripts):

```
bin/console order-cleanup:clear -n
```

What gets deleted
-----------------

[](#what-gets-deleted)

DataDetailsOrders`order` and all sub-tables (line items, transactions, deliveries, addresses, etc.)DocumentsInvoices, credit notes, delivery notes, cancellationsDocument mediaPDF files from the media libraryNumber range statesReset to configured start value for order and document types onlyProduct and customer number ranges are **not** affected.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance88

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community6

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

Total

5

Last Release

61d ago

Major Versions

v6.1.1 → v7.0.02026-06-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3930922?v=4)[Rune Laenen](/maintainers/runelaenen)[@runelaenen](https://github.com/runelaenen)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/runelaenen-sw6-order-cleanup/health.svg)

```
[![Health](https://phpackages.com/badges/runelaenen-sw6-order-cleanup/health.svg)](https://phpackages.com/packages/runelaenen-sw6-order-cleanup)
```

###  Alternatives

[shopware/administration

Administration frontend for the Shopware Core

404.5M135](/packages/shopware-administration)[shopware/storefront

Storefront for Shopware

674.7M282](/packages/shopware-storefront)[frosh/tools

Provides some basic things for managing the Shopware Installation

88858.1k3](/packages/frosh-tools)[shopware/production

176216.5k](/packages/shopware-production)[shopware/elasticsearch

Elasticsearch for Shopware

144.1M21](/packages/shopware-elasticsearch)[adyen/adyen-shopware6

Official Shopware 6 Plugin to connect to Payment Service Provider Adyen

25119.6k](/packages/adyen-adyen-shopware6)

PHPackages © 2026

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