PHPackages                             slam/composer-folders-plugin - 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. slam/composer-folders-plugin

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

slam/composer-folders-plugin
============================

Create and clean specified folders

v2.5.0(5mo ago)230.3k↓66.7%[1 issues](https://github.com/Slamdunk/composer-folders-plugin/issues)[1 PRs](https://github.com/Slamdunk/composer-folders-plugin/pulls)MITPHPPHP ~8.4.0 || ~8.5.0CI passing

Since Aug 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Slamdunk/composer-folders-plugin)[ Packagist](https://packagist.org/packages/slam/composer-folders-plugin)[ Fund](https://paypal.me/filippotessarotto)[ GitHub Sponsors](https://github.com/Slamdunk)[ RSS](/packages/slam-composer-folders-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (9)Versions (15)Used By (0)

composer-folders-plugin
=======================

[](#composer-folders-plugin)

[![Latest Stable Version](https://camo.githubusercontent.com/a6bfced85bad711c0fe120e714fd63992eff7c4ab9496187beb838aa706bba11/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736c616d2f636f6d706f7365722d666f6c646572732d706c7567696e2e737667)](https://packagist.org/packages/slam/composer-folders-plugin)[![Downloads](https://camo.githubusercontent.com/67cf0143b60cb73624d30cd3ee5bfe061bf070bf816d6611c6ff86ed576b84db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736c616d2f636f6d706f7365722d666f6c646572732d706c7567696e2e737667)](https://packagist.org/packages/slam/composer-folders-plugin)[![Integrate](https://github.com/Slamdunk/composer-folders-plugin/workflows/CI/badge.svg?branch=master)](https://github.com/Slamdunk/composer-folders-plugin/actions)[![Code Coverage](https://camo.githubusercontent.com/3197d031ceefd2e9ded2ae62842befa4b7110fe1da6ae1e89b9e5cf3ff781a4d/68747470733a2f2f636f6465636f762e696f2f67682f536c616d64756e6b2f636f6d706f7365722d666f6c646572732d706c7567696e2f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/gh/Slamdunk/composer-folders-plugin?branch=master)

Create and clean specified folders

```
{
    "require": {
        "slam/composer-folders-plugin": "^1.0"
    },
    "extra": {
        "folders-plugin": {
            "create": {
                "data":         "0770",
                "data/cache":   "0770",
                "data/hide-me": "0500",
                "tmp":          "0777"
            },
            "clean": {
                "data/cache":   "*",
                "tmp":          "*.cache.php"
            }
        }
    }
}

```

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance71

Regular maintenance activity

Popularity29

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 91.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 ~340 days

Recently: every ~185 days

Total

11

Last Release

168d ago

Major Versions

v1.1.0 → v2.0.02020-10-22

PHP version history (5 changes)v2.0.0PHP ^7.4 || ^8.0

v2.1.0PHP ~8.1.0 || ~8.2.0

v2.2.0PHP ~8.2.0 || ~8.3.0

v2.3.0PHP ~8.3.0 || ~8.4.0

v2.4.0PHP ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50348?v=4)[Sahn Lam](/maintainers/Slam)[@slam](https://github.com/slam)

---

Top Contributors

[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (221 commits)")[![Slamdunk](https://avatars.githubusercontent.com/u/152236?v=4)](https://github.com/Slamdunk "Slamdunk (20 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

composer-plugin

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/slam-composer-folders-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/slam-composer-folders-plugin/health.svg)](https://phpackages.com/packages/slam-composer-folders-plugin)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M446](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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