承接 profitroom/coding-standards 相关项目开发

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

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

profitroom/coding-standards

最新稳定版本:v0.8.0

Composer 安装命令:

composer require profitroom/coding-standards

包简介

Plugin that helps maintaining coding standards among multiple projects

README 文档

README

Maintaining miscellaneous coding standards among company's products is very difficult and time-consuming.
The purpose of this plugin is to ensure compliance with the adopted standards and manage them.

Installation

This package can be installed via Composer:

composer require --dev profitroom/coding-standards:^1.0

Since package is still in development stage, you have to set minimum stability requirements in your composer.json:

{
    
    "minimum-stability": "dev",
    "prefer-stable": true
}

If there is no fixer config (.php_cs.dist) in your project, then installing or updating plugin will handle creating it for you.
Otherwise it is possible to overwrite existing config using composer cs:configuration --force.

Commands

Plugin provides some useful commands:

  • cs:configuration [options] - creates coding standards config file
  • cs:fix [options] - fixes code in accordance to coding standards

Specific rules and paths

There are situations in which default configuration is not enough. It is possible to define rules and paths specific for a concrete project by pointing different configuration provided by the plugin.
For this purpose use arbitrary extra data in composer.json, e.g.:

{
    
    "extra": {
        "coding-standards": "Profitroom\\CodingStandards\\Configuration\\Common"
    }
}

and update config file using cs:configuration command.

Contribute

Everyone is more than welcome to contribute.

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-07-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固