定制 eufaturo/coding-standards 二次开发

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

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

eufaturo/coding-standards

Composer 安装命令:

composer require eufaturo/coding-standards

包简介

Coding standards for Eufaturo projects.

README 文档

README

This repository contains the coding standards followed by Eufaturo projects.

It includes configuration for:

Setup

First install the dependency through Composer by running:

composer require eufaturo/coding-standards --dev

Once the dependency is installed, run the following:

composer eufaturo:setup-coding-standards

Next open your composer.json file and add the following section:

"scripts": {
    "ecs:fix": "./vendor/bin/ecs --fix",
    "ecs:check": "./vendor/bin/ecs",
    "phpstan:check": "./vendor/bin/phpstan analyse --ansi",
    "phpstan:generate-baseline":  "./vendor/bin/phpstan --generate-baseline",
    "rector:fix": "./vendor/bin/rector process --ansi",
    "rector:check": "./vendor/bin/rector process --ansi --dry-run"
},

Note: If you already have a scripts section on your composer.json file, just merge the new scripts with the existing ones.

Usage

To use it, you can run one of the scripts added to your composer.json file:

composer ecs:fix
composer ecs:check
composer phpstan:check
composer phpstan:generate-baseline
composer rector:fix
composer rector:check

License

This package is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固