PHPackages                             sbolch/rrmdir - 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. sbolch/rrmdir

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

sbolch/rrmdir
=============

Recursively removes a directory.

v3.1.1(1y ago)11.0kMITPHPPHP &gt;=7.1

Since Sep 25Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/sbolch/rrmdir)[ Packagist](https://packagist.org/packages/sbolch/rrmdir)[ Docs](https://github.com/sbolch/rrmdir)[ Fund](https://www.buymeacoffee.com/arnyek)[ GitHub Sponsors](https://github.com/sbolch)[ RSS](/packages/sbolch-rrmdir/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (16)Used By (0)

rrmdir
======

[](#rrmdir)

> Recursively removes a directory.

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

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require sbolch/rrmdir
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Usage
-----

[](#usage)

```
rrmdir('/path/to/dir');
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance67

Regular maintenance activity

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 92.3% 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 ~168 days

Recently: every ~0 days

Total

15

Last Release

433d ago

Major Versions

v1.0.6 → v2.02025-03-10

v2.0 → v3.02025-03-10

v1.x-dev → v2.x-dev2025-03-10

v2.1 → v3.12025-03-10

PHP version history (3 changes)v1.0PHP &gt;=5.3

v2.0PHP &gt;=7.0

v3.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d07773b12732581240d3515028d3b6a17f8074aa2d3c96250cb97e0243394eb?d=identicon)[sbolch](/maintainers/sbolch)

---

Top Contributors

[![sbolch](https://avatars.githubusercontent.com/u/2583090?v=4)](https://github.com/sbolch "sbolch (12 commits)")[![daniert](https://avatars.githubusercontent.com/u/23498703?v=4)](https://github.com/daniert "daniert (1 commits)")

---

Tags

phpdirectoryrecursiveremovermdir

### Embed Badge

![Health badge](/badges/sbolch-rrmdir/health.svg)

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

###  Alternatives

[liborm85/composer-vendor-cleaner

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

35342.7k1](/packages/liborm85-composer-vendor-cleaner)[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)

PHPackages © 2026

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