PHPackages                             johng/lge-codesniffer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. johng/lge-codesniffer

ActiveLibrary[Testing &amp; Quality](/categories/testing)

johng/lge-codesniffer
=====================

Custom coding standard base on php-codesniffer.

v2.0-stable(9y ago)2131MITPHPPHP &gt;=5.0.0

Since Apr 27Pushed 8y agoCompare

[ Source](https://github.com/EngineQ/Lge_CodeSniffer)[ Packagist](https://packagist.org/packages/johng/lge-codesniffer)[ Docs](https://github.com/EngineQ/Lge_CodeSniffer)[ RSS](/packages/johng-lge-codesniffer/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (4)Used By (0)

安装与配置
=====

[](#安装与配置)

1、[Lge\_CodeSniffer/PHP\_CodeSniffer的安装配置使用(Windows)](http://johng.cn/lge-codesniffer-windows/)

2、[Lge\_CodeSniffer/PHP\_CodeSniffer的安装配置使用(Linux)](http://johng.cn/lge-codesniffer-configuration/)

3、[在PHPStorm中使用Lge\_CodeSniffer(Linux+Windows)](http://johng.cn/phpstorm-with-lge-codesniffer/)

配置检测忽略
======

[](#配置检测忽略)

```
在项目根目录下创建 .csignore 文件，并将不需要检测的文件或者目录添加进去，一行一条。
例如：
忽略目录: Test/*
忽略文件: ThirtyPart/Xxx.php

```

错误信息说明
======

[](#错误信息说明)

```
待整理

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

3300d ago

Major Versions

v1.0 → v2.0-stable2017-04-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/69e997fc7cdcce333991a1287f158ca7fec9fcaa017a3498b0a3486652db0221?d=identicon)[Johng](/maintainers/Johng)

---

Top Contributors

[![gqcn](https://avatars.githubusercontent.com/u/26347176?v=4)](https://github.com/gqcn "gqcn (21 commits)")

---

Tags

codesniffercode snifferphp-code-snifferlge

### Embed Badge

![Health badge](/badges/johng-lge-codesniffer/health.svg)

```
[![Health](https://phpackages.com/badges/johng-lge-codesniffer/health.svg)](https://phpackages.com/packages/johng-lge-codesniffer)
```

###  Alternatives

[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[consistence/coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

75833.3k93](/packages/consistence-coding-standard)[moodlehq/moodle-cs

Moodle Coding Sniffer rules

242.8M5](/packages/moodlehq-moodle-cs)[phpmyadmin/coding-standard

phpMyAdmin PHP\_CodeSniffer Coding Standard

201.2M7](/packages/phpmyadmin-coding-standard)[typo3-ci/typo3sniffpool

This repository contains custom sniffs which are compatible with the PHP\_CodeSniffer. Understand this package as a sniff pool. It contains all custom sniffs for the TYPO3 project.

2336.5k3](/packages/typo3-ci-typo3sniffpool)[matthiasnoback/code-sniffer-sniff-dsl

DSL for writing sniffs for PHP\_CodeSniffer

103.0k1](/packages/matthiasnoback-code-sniffer-sniff-dsl)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
