定制 cds-uwb/php-code-style 二次开发

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

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

cds-uwb/php-code-style

Composer 安装命令:

composer require cds-uwb/php-code-style

包简介

CDS team PHP coding style for PHP-CS-Fixer

README 文档

README

PHP Code Style

Tests

This repository contains the PHP CS Fixer coding style rules for CDS team PHP projects.

Use the \Cds\PhpCodeStyle\rules() function to get all rules as an array. You can pass additional rules to extend the set, or override existing ones as needed.

The rules are also available via the \Cds\PhpCodeStyle\Rules constant.

Usage

# .php-cs-fixer.dist.php
<?php

$finder = PhpCsFixer\Finder::create()
    ->ignoreUnreadableDirs()
    ->exclude('db')
    ->exclude('log')
    ->exclude('temp')
    ->in(__DIR__)
;

return (new PhpCsFixer\Config())
    ->setRules(\Cds\PhpCodeStyle\rules())
    ->setFinder($finder)
;

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固