PHPackages                             hugochinchilla/stumpgrinder - 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. hugochinchilla/stumpgrinder

Abandoned → [hugochinchilla/botanist](/?search=hugochinchilla%2Fbotanist)Composer-plugin[Utility &amp; Helpers](/categories/utility)

hugochinchilla/stumpgrinder
===========================

Remove all the roots from your vendor dir

v0.1(2y ago)114GPL-3.0-onlyPHPPHP &gt;=7.4

Since Sep 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hugochinchilla/stumpgrinder)[ Packagist](https://packagist.org/packages/hugochinchilla/stumpgrinder)[ RSS](/packages/hugochinchilla-stumpgrinder/feed)WikiDiscussions main Synced 1mo ago

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

⚠️ [This project has been renamed and moved to a new repo](https://github.com/hugochinchilla/botanist)
======================================================================================================

[](#️-this-project-has-been-renamed-and-moved-to-a-new-repo)

stumpgrinder
============

[](#stumpgrinder)

[![Run test suite](https://github.com/hugochinchilla/stumpgrinder/actions/workflows/run-phpunit.yml/badge.svg)](https://github.com/hugochinchilla/stumpgrinder/actions/workflows/run-phpunit.yml)

[![banner](img/ls-example.png)](img/ls-example.png)

Add this plugin to your `composer.json` to prevent composer from creating files owned by root while running on docker.

Run `composer require hugochinchilla/stumpgrinder` and you will never have to fix a composer permission error again.

How does it work?
-----------------

[](#how-does-it-work)

It sets a hook to run after commands that may write the `vendor/` dir or update the `composer.lock` file. The hook will check the parent dir owner/group and will set the same ownership to the files.

It can only perform this action if composer is run as root, so if you don't install it as root you will not see the ownership changed until you execute any install/update as root.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

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

Unknown

Total

1

Last Release

956d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/77529105a3fa32de7d4347ac14e48651e42c4b1fc34be45bcf09ea63efee44f5?d=identicon)[hugochinchilla](/maintainers/hugochinchilla)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hugochinchilla-stumpgrinder/health.svg)

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

###  Alternatives

[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[vaimo/composer-changelogs

Provide information about package changes based on changelog files that are bundled with releases; provide tools for generating documentation files from changelog sources

11150.5k10](/packages/vaimo-composer-changelogs)[williarin/cook

Composer plugin to execute recipes embedded in packages

252.1k3](/packages/williarin-cook)[uma/composer-psysh

No-frills PsySH-Composer plugin

183.2k](/packages/uma-composer-psysh)[numero2/contao-storelocator

Contao Plugin for managing stores (or in common address data) and providing a frontend-search based on geo data

121.5k](/packages/numero2-contao-storelocator)

PHPackages © 2026

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