umpirsky / composer-permissions-handler
Composer script handling directories permissions by making them writable both by the web server and the command line user.
Installs: 29 450
Dependents: 3
Suggesters: 0
Security: 0
Stars: 66
Watchers: 7
Forks: 8
Open Issues: 0
Requires
- php: ^7.2 || ^8.0
- symfony/process: ^2.3 || ^3.0 || ^4.0 || ^5.0
Requires (Dev)
- composer/composer: ^2.2.4
- phpspec/phpspec: ^7.1
This package is not auto-updated.
Last update: 2024-12-23 22:40:38 UTC
README
symfony upgrade fixer • twig gettext extractor • wisdom • centipede • permissions handler • extraload • gravatar • locurro • country list • transliterator
Composer Permissions Handler
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.