PHPackages                             balrok/composer-mkdir - 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. balrok/composer-mkdir

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

balrok/composer-mkdir
=====================

Composer script for easy directories and symlink creation.

2.1.1(8y ago)03.9kMITPHP

Since Nov 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/balrok/composer-mkdir)[ Packagist](https://packagist.org/packages/balrok/composer-mkdir)[ Docs](https://github.com/balrok/composer-mkdir)[ RSS](/packages/balrok-composer-mkdir/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (6)Used By (0)

Composer mkdir
==============

[](#composer-mkdir)

This tool allows you to create directories and symlinks when a composer install or update is run.

Usage
-----

[](#usage)

```
{
    "require": {
        "balrok/composer-mkdir": "^2.1"
    },
    "scripts": {
        "post-install-cmd": [
            "Balrok\\ComposerMkdir\\ScriptHandler::mkdirs"
        ],
        "post-update-cmd": [
            "Balrok\\ComposerMkdir\\ScriptHandler::mkdirs"
        ]
    },
    "extra": {
        "mkdir": {
            "var/cache": "0777",
            "runtime": "0777"
        },
        "symlink": {
            "css": "themes/summer/css",
            "assets/fonts": "../themes/summer/css/fonts"
        }
    }
}
```

For mkdir: parent directories are created if required.

This project builds on top of  - which does not support permissions and symlinks but has unit tests.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~263 days

Total

5

Last Release

3197d ago

Major Versions

v1.0.1 → 2.0.02015-10-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/29128?v=4)[Carl Mai](/maintainers/balrok)[@balrok](https://github.com/balrok)

---

Top Contributors

[![fbourigault](https://avatars.githubusercontent.com/u/1116116?v=4)](https://github.com/fbourigault "fbourigault (22 commits)")[![balrok](https://avatars.githubusercontent.com/u/29128?v=4)](https://github.com/balrok "balrok (2 commits)")

---

Tags

composer-plugin

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/balrok-composer-mkdir/health.svg)

```
[![Health](https://phpackages.com/badges/balrok-composer-mkdir/health.svg)](https://phpackages.com/packages/balrok-composer-mkdir)
```

###  Alternatives

[yahnis-elsts/ajax-wrapper

AJAX action wrapper for WordPress

213.8k](/packages/yahnis-elsts-ajax-wrapper)[gburtini/humanize-php

Provides functions for converting numbers and timestamps in to human friendly forms. Based on the Django Humanize API.

151.1k](/packages/gburtini-humanize-php)

PHPackages © 2026

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