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 2022-01-19 17:24 UTC

This package is not auto-updated.

Last update: 2024-04-01 19:14:56 UTC


README

68747470733a2f2f6661726d322e737461746963666c69636b722e636f6d2f313730392f32353039383532363838345f616534643530343635665f6f5f642e706e67

symfony upgrade fixertwig gettext extractorwisdomcentipedepermissions handlerextraloadgravatarlocurrocountry listtransliterator

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