Skip to content

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

License

Notifications You must be signed in to change notification settings

umpirsky/PermissionsHandler

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages