ralfmaxxx/phpstorm_configurator 问题修复 & 功能扩展

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

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

ralfmaxxx/phpstorm_configurator

最新稳定版本:0.6.0

Composer 安装命令:

composer require ralfmaxxx/phpstorm_configurator

包简介

Configure you phpstorm based on one file

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License

Requirements

  • PHP>=5.6

Usage

Now it is easy to prepare and share your phpstorm configuration for projects.

Just create simple phpstorm.yml which contains:

settings:
    inspection: ~
    indent: ~

Settings have default values as is shown below:

settings:
    inspection:
        phpmd: "phpmd.xml"
        phpcs: "ruleset.xml"
    indent:
        php: 4
        js: 4
        gherkin: 4
        yml: 4
        json: 4
        css: 4
        scss: 4
        html: 4
        xml: 4

You can easily overwrite them in your phpstorm.yml file.

Based on this file, just run from directory where phpstorm.yml is placed:

phpstorm-configurator configure:inspections
phpstorm-configurator configure:indents

Important

It works properly only on Mac/Linux and tested with PhpStorm 9 and PhpStorm 2016.(1,2,3).

For now .idea directory has to exist.

If your settings are not imported, please restart IDE.

Inspections will be imported only if your files have proper structure.

For now phpcs file has to be named "ruleset.xml". Otherwise it won't be used by PhpStorm.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2015-07-26