darkalchemy/composer-permission
最新稳定版本:2.1.0
Composer 安装命令:
composer require darkalchemy/composer-permission
包简介
Composer script handling directories permissions by making them writable both
README 文档
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
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-03-05