boxuk / composer-iis-permission-handler
Composer script handling iis permissions
Installs: 1 347
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 50
Forks: 1
Open Issues: 1
Requires
- php: >=5.3.3
This package is auto-updated.
Last update: 2024-10-26 17:29:55 UTC
README
This tool allows you to run a basic script to fix IIS permissions on any directories you specify within the extra
field of your composer.json
Usage
Add the following in your root composer.json file
{ "require": { "boxuk/composer-iis-permissions-handler": "1.0.*@dev" }, "scripts": { "post-install-cmd": [ "BoxUK\\IISPermissionHandler\\ScriptHandler::fixPermissions" ], "post-update-cmd": [ "BoxUK\\IISPermissionHandler\\ScriptHandler::fixPermissions" ] }, "extra": { "iis-permission-fix-folders": ["app/cache", "app/logs", "vendor"] # Defaults to: app/cache, app/logs, vendor } }
By default the permission handler will give minimal output. If you would like to receive more output (for debug for example), simple add the following to the extra
section of your composer file.
"extra": { "iis-permission-fix-debug": "true" }