定制 rabiloo/coding-standard 二次开发

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

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

rabiloo/coding-standard

最新稳定版本:v0.1.1

Composer 安装命令:

composer require rabiloo/coding-standard

包简介

Rabiloo's PHP coding standard

README 文档

README

Latest Version on Packagist Tests Total Downloads

Rabiloo's PHP coding standard

Installation

You can install the package via composer:

composer require rabiloo/coding-standard --dev

Add it to your project phpcs.xml or phpcs.xml.dist ruleset:

<?xml version="1.0"?>
<ruleset>
    <arg value="p"/>
    <arg value= "s"/>
    <arg name="colors"/>

    <file>app</file>
    <file>bootstrap</file>
    <file>config</file>
    <file>database</file>
    <file>lang</file>
    <file>routes</file>
    <file>tests</file>
    <file>public</file>

    <exclude-pattern>*/*.js</exclude-pattern>
    <exclude-pattern>*/*.css</exclude-pattern>
    <exclude-pattern>*/*.xml</exclude-pattern>
    <exclude-pattern>*/*.blade.php</exclude-pattern>
    <exclude-pattern>bootstrap/cache</exclude-pattern>

    <rule ref="./vendor/rabiloo/coding-standard/ruleset.xml"/>
</ruleset>

Laravel

If you use it with Laravel project, you can install by commands

composer require rabiloo/coding-standard --dev
php artisan vendor:publish --tag rabiloo-coding-standard

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-30