darkalchemy/composer-permission 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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 Twitter URL

License

MIT © Adnan Ahmed

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-03-05