Search by

umpirsky / composer-permissions-handler

umpirsky

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

Package info

github.com/umpirsky/PermissionsHandler

pkg:composer/umpirsky/composer-permissions-handler

Statistics

Installs: 30 545

Dependents: 2

Suggesters: 0

Stars: 66

Open Issues: 0

v1.7 2022-01-19 17:24 UTC

This package is not auto-updated.

Last update: 2026-09-15 06:13:41 UTC


README

symfony upgrade fixer • twig gettext extractor • wisdom • centipede • permissions handler • extraload • gravatar • locurro • country list • transliterator

Composer Permissions Handler Build Status

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

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