定制 m6web/symfony2-coding-standard 二次开发

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

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

m6web/symfony2-coding-standard

最新稳定版本:v3.3.0

Composer 安装命令:

composer require m6web/symfony2-coding-standard

包简介

Symfony2 PHP CodeSniffer Coding Standard

README 文档

README

Latest Stable Version Total Downloads

A code standard to check against the Symfony coding standards, forked from opensky/Symfony2-coding-standard to allow installation with composer.

The reason of the fork is to use this PHP CodeSniffer coding standard with M6Web/Coke. More details on our tech blog (in french).

We also added to this project our own standard for our Symfony2 developments entitled M6Web_Symfony2.

Installation

  1. Install composer

  2. Create a composer.json file which contains:

    { "require-dev": { "m6web/coke": "~2.1", "m6web/Symfony2-coding-standard": "~3.1" } }
  3. Install dev dependencies

    composer update --dev
  4. Create a .coke file a the root of the project who contain:

    standard=vendor/m6web/symfony2-coding-standard/Symfony2

    or if you want to use our standard:

    standard=vendor/m6web/symfony2-coding-standard/M6Web_Symfony2
  5. Enjoy

    ./vendor/bin/coke

Credits

Developped by M6Web, cloned from lapistano/Symfony2-coding-standard. The PHP_CodeSniffer 2.0+ Symfony2 standard is very broadly inspired from escapestudios/Symfony2-coding-standard

License

This project is licensed under the MIT license.

License

统计信息

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

GitHub 信息

  • Stars: 18
  • Watchers: 28
  • Forks: 133
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固