PHPackages                             umpirsky/composer-permissions-handler - 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. umpirsky/composer-permissions-handler

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

umpirsky/composer-permissions-handler
=====================================

Composer script handling directories permissions by making them writable both by the web server and the command line user.

v1.7(4y ago)6630.3k8MITPHPPHP ^7.2 || ^8.0

Since Apr 29Pushed 4y ago5 watchersCompare

[ Source](https://github.com/umpirsky/PermissionsHandler)[ Packagist](https://packagist.org/packages/umpirsky/composer-permissions-handler)[ RSS](/packages/umpirsky-composer-permissions-handler/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (11)Used By (0)

###  [ ![](https://camo.githubusercontent.com/4acdbd12ae1b9a9539be7b30f8cef6cd9678ccb45500067152e333743632afd8/68747470733a2f2f6661726d322e737461746963666c69636b722e636f6d2f313730392f32353039383532363838345f616534643530343635665f6f5f642e706e67) ](https://github.com/umpirsky)

[](#----------------)

 [symfony upgrade fixer](https://github.com/umpirsky/Symfony-Upgrade-Fixer) • [twig gettext extractor](https://github.com/umpirsky/Twig-Gettext-Extractor) • [wisdom](https://github.com/umpirsky/wisdom) • [centipede](https://github.com/umpirsky/centipede) • **permissions handler **• [extraload](https://github.com/umpirsky/Extraload) • [gravatar](https://github.com/umpirsky/Gravatar) • [locurro](https://github.com/umpirsky/locurro) • [country list](https://github.com/umpirsky/country-list) • [transliterator](https://github.com/umpirsky/Transliterator)****

****Composer Permissions Handler [![Build Status](https://camo.githubusercontent.com/a8fc2941b0c30ad813d2aefbabe83c3cb256b7555c9e34233f828ff5b418f8ad/68747470733a2f2f7472617669732d63692e6f72672f756d706972736b792f5065726d697373696f6e7348616e646c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/umpirsky/PermissionsHandler)
=============================================================================================================================================================================================================================================================================================================================================

[](#composer-permissions-handler-)**** Composer script handling directories permissions by making them writable both by the web server and the command line user.

Usage
-----

[](#usage)

Add the following in your root composer.json file:

```
{
    "require": {
        "umpirsky/composer-permissions-handler": "~1.0"
    },
    "scripts": {
        "post-install-cmd": [
            "Umpirsky\\PermissionsHandler\\ScriptHandler::setPermissions"
        ]
    },
    "extra": {
        "writable-dirs": ["app/cache", "app/logs"]
    }
}
```

`app/cache` and `app/logs` are directories we want writable by the web server and the command line user.

Examples
--------

[](#examples)

- [Symfony](https://github.com/umpirsky/symfony-standard/tree/feature/permissions-handler)
- [Lavarel](https://github.com/umpirsky/laravel/tree/feature/permissions-handler)

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% 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 ~403 days

Recently: every ~633 days

Total

8

Last Release

1571d ago

PHP version history (5 changes)v1.0PHP &gt;=5.4

v1.1PHP &gt;=5.3

v1.5PHP ^7.1

v1.6PHP ^7.2

v1.7PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/379f6555cc98722ab303535ce5811af267fd006fc3e141bd0cea546430160c74?d=identicon)[umpirsky](/maintainers/umpirsky)

---

Top Contributors

[![umpirsky](https://avatars.githubusercontent.com/u/208957?v=4)](https://github.com/umpirsky "umpirsky (18 commits)")[![dxops](https://avatars.githubusercontent.com/u/1804871?v=4)](https://github.com/dxops "dxops (6 commits)")[![darkalchemy](https://avatars.githubusercontent.com/u/30264374?v=4)](https://github.com/darkalchemy "darkalchemy (4 commits)")[![cordoval](https://avatars.githubusercontent.com/u/328359?v=4)](https://github.com/cordoval "cordoval (2 commits)")[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (1 commits)")[![kidager](https://avatars.githubusercontent.com/u/3314980?v=4)](https://github.com/kidager "kidager (1 commits)")[![maks-rafalko](https://avatars.githubusercontent.com/u/3725595?v=4)](https://github.com/maks-rafalko "maks-rafalko (1 commits)")

---

Tags

permissions handling

### Embed Badge

![Health badge](/badges/umpirsky-composer-permissions-handler/health.svg)

```
[![Health](https://phpackages.com/badges/umpirsky-composer-permissions-handler/health.svg)](https://phpackages.com/packages/umpirsky-composer-permissions-handler)
```

###  Alternatives

[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[spatie/typescript-transformer

This is my package typescript-transformer

3706.5M16](/packages/spatie-typescript-transformer)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k17](/packages/civicrm-civicrm-core)[shivas/versioning-bundle

Symfony application versioning, simple console command to manage version (with providers e.g. git tag) of your application using Semantic Versioning 2.0.0 recommendations

1121.2M1](/packages/shivas-versioning-bundle)[eclipxe/cfdiutils

PHP Common utilities for Mexican CFDI 3.2, 3.3 &amp; 4.0

141129.9k6](/packages/eclipxe-cfdiutils)[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)

PHPackages © 2026

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