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 229
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-07-22 20:36:19 UTC
README
symfony upgrade fixer • twig gettext extractor • wisdom • centipede • permissions handler • extraload • gravatar • locurro • country list • transliterator
Composer Permissions Handler ![Build Status](https://camo.githubusercontent.com/b97f74bb342d109fee3e9326256c62a2838612b76343a3941a8227c9185cd94a/68747470733a2f2f7472617669732d63692e6f72672f756d706972736b792f5065726d697373696f6e7348616e646c65722e7376673f6272616e63683d6d6173746572)
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.