PHPackages                             keironlowe/sweep - 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. keironlowe/sweep

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

keironlowe/sweep
================

Sweeps up your WordPress site and removes all the cruft

1.2.1(5y ago)028MITPHP

Since Jul 30Pushed 5y agoCompare

[ Source](https://github.com/KeironLowe/sweep)[ Packagist](https://packagist.org/packages/keironlowe/sweep)[ RSS](/packages/keironlowe-sweep/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (6)Used By (0)

Sweep
=====

[](#sweep)

Sweep is a simple library for WordPress which removes a lot of the cruft that's included by default, including jQuery, Emojis, DNS Prefetches and more.

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

[](#installation)

Installation is done through composer `composer require keironlowe/sweep`.

Usage
-----

[](#usage)

Just create a new instance of Sweep and then chain the available methods to remove what you wish.

```
use Sweep\Sweep;

Sweep::create()->removeAll();

```

Methods
-------

[](#methods)

### `removeAll()`

[](#removeall)

Executes all the removal methods available within the library.

### `removeEmojis()`

[](#removeemojis)

Removes the emoji scripts and styles.

### `removeAdminBar()`

[](#removeadminbar)

Removes the admin bar from the page.

### `removeBlockEditorCss()`

[](#removeblockeditorcss)

Removes the block editor styles,

### `removeWpDnsPrefetch()`

[](#removewpdnsprefetch)

Removes the DNS prefetch for .

### `removeXmlRpcLink()`

[](#removexmlrpclink)

Removes the XML-RPC link.

### `removeWordPressVersion()`

[](#removewordpressversion)

Removes the WordPress version number.

### `removeWindowsLiveWriterLink()`

[](#removewindowslivewriterlink)

Removes the Windows Live Writer link.

### `removeWpJsonLink()`

[](#removewpjsonlink)

Removes the api.w.org WP-JSON link.

### `removeRecentCommentsCSS()`

[](#removerecentcommentscss)

Removes the CSS for the recent comment's widget.

### `removeJQuery()`

[](#removejquery)

Removes jQuery and in turn, jQuery Migrate. This is probably the most dangerous method, you should onlu use this if you're absolutely sure you and any plugins aren't using jQuery.

### `removeBlockEditor()`

[](#removeblockeditor)

Disables the block editor.

### `removeOEmbed()`

[](#removeoembed)

Removes any oEmbed functionality.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Total

5

Last Release

2071d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b24fc531ba5826b297e33c2c6bf897a7b753c7478905f50d01070a1a7bb81a3?d=identicon)[KeironLowe](/maintainers/KeironLowe)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/keironlowe-sweep/health.svg)

```
[![Health](https://phpackages.com/badges/keironlowe-sweep/health.svg)](https://phpackages.com/packages/keironlowe-sweep)
```

PHPackages © 2026

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