承接 darkalchemy/composer-permission 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱: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
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

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