PHPackages                             gatenbysanderson/code-sniffer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gatenbysanderson/code-sniffer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gatenbysanderson/code-sniffer
=============================

The coding standards set by the company

v1.2.0(8y ago)021proprietaryPHP &gt;=5.6

Since Jan 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gatenbysanderson/code-sniffer)[ Packagist](https://packagist.org/packages/gatenbysanderson/code-sniffer)[ RSS](/packages/gatenbysanderson-code-sniffer/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

Code Sniffer
============

[](#code-sniffer)

The coding standards that have been set and agreed by the development team.

Licence
-------

[](#licence)

Copyright © 2018 GatenbySanderson Ltd.

This project is open source software released under the terms of the MIT licence: see [LICENCE.md](LICENCE.md).

Getting Started
---------------

[](#getting-started)

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

[](#prerequisites)

- PHP &gt;=5.6

As this is a private repo, when using composer to require this package - it is assumed your SSH key has already been added to GitHub to authenticate.

### Installing

[](#installing)

Start by adding this repo to your projects `composer.json` file:

```
{
  "repositories": [
    {
        "type": "vcs",
        "url":  "git@github.com:gatenbysanderson/code-sniffer.git",
        "no-api": true
    }
  ]
}
```

You can then simply require the package as with any other:

```
$ composer require --dev gatenbysanderson/code-sniffer

```

### Running the Sniffer

[](#running-the-sniffer)

To run the sniffer, you can either call the command in full:

```
$ vendor/bin/phpcs --standard=vendor/gatenbysanderson/code-sniffer/src/phpcs.xml directory1 [directory2 ...]

```

Or create a composer script to make life easier:

```
{
  "scripts": {
    "gscs": "phpcs --standard=vendor/gatenbysanderson/code-sniffer/src/phpcs.xml directory1 [directory2 ...]"
  }
}
```

This allows you to then run:

```
$ composer gscs

```

Built With
----------

[](#built-with)

- [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer) - The code sniffer
- [Composer](https://getcomposer.org/) - Dependency management

Contributing
------------

[](#contributing)

All changes must be made through the medium of a pull request.

1. Create a feature branch off of the `develop` branch: `feature/my-awesome-feature`
2. Push your commits to the feature branch
3. Submit a pull request to merge the feature into `develop`
4. Once accepted, `develop` should then be merged into `master`
5. `master` should then be tagged with a new release

Versioning
----------

[](#versioning)

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/gatenbysanderson/code-sniffer/tags).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 65% 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 ~6 days

Total

4

Last Release

3017d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/775b10addad7b8f78c5f7348efe6ef08d350d68bdb892f56f97f8ab49e9abc95?d=identicon)[gatenbysanderson](/maintainers/gatenbysanderson)

---

Top Contributors

[![mubeen-gs](https://avatars.githubusercontent.com/u/35526903?v=4)](https://github.com/mubeen-gs "mubeen-gs (13 commits)")[![benstonesgs](https://avatars.githubusercontent.com/u/21201242?v=4)](https://github.com/benstonesgs "benstonesgs (7 commits)")

### Embed Badge

![Health badge](/badges/gatenbysanderson-code-sniffer/health.svg)

```
[![Health](https://phpackages.com/badges/gatenbysanderson-code-sniffer/health.svg)](https://phpackages.com/packages/gatenbysanderson-code-sniffer)
```

###  Alternatives

[shopsys/coding-standards

Coding standards definition compatible with PSR-2

20269.1k13](/packages/shopsys-coding-standards)[flyeralarm/php-code-validator

A custom coding standard for FLYERALARM

2226.9k6](/packages/flyeralarm-php-code-validator)

PHPackages © 2026

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