定制 umpirsky/composer-permissions-handler 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

umpirsky/composer-permissions-handler

最新稳定版本:v1.7

Composer 安装命令:

composer require umpirsky/composer-permissions-handler

包简介

Composer script handling directories permissions by making them writable both by the web server and the command line user.

README 文档

README

symfony upgrade fixertwig gettext extractorwisdomcentipedepermissions handlerextraloadgravatarlocurrocountry listtransliterator

Composer Permissions Handler Build Status

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.

Examples

统计信息

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

GitHub 信息

  • Stars: 67
  • Watchers: 5
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-04-28