darkalchemy / composer-permission
Composer script handling directories permissions by making them writable both
2.1.0
2023-03-05 23:17 UTC
Requires
- php: >=5.3
Requires (Dev)
- composer/composer: dev-main
- phpspec/phpspec: ^7.3
This package is auto-updated.
Last update: 2024-12-06 03:17:28 UTC
README
Composer script handling directories permissions
Usage
Run the below command to install the plugin
composer require darkalchemy/composer-permission
And then put the below configuration in your composer.json file
{ ... "scripts": { "post-install-cmd": [ "Idnan\\ComposerPermission\\Handler::setPermissions" ] }, "extra": { "dir_permissions": ["app/strorage:0777"] } }
Where replace app/storage
with the relative path for which permissions is to be changed and 0777
with the permission that you may want. You can pass any permission as long as it is accepted by chmod.
Contribution
- Report issues
- Open pull request with improvements
- Features Suggestions
- Reach out to me directly at idnan.se@gmail.com or
License
MIT © Adnan Ahmed