PHPackages                             thanpa/thanpa-coding-standard - 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. thanpa/thanpa-coding-standard

ActiveCoding-standard[Testing &amp; Quality](/categories/testing)

thanpa/thanpa-coding-standard
=============================

CodeSniffer ruleset for the Thanpa coding standard

v1.0(10y ago)04161[1 PRs](https://github.com/thanpa/thanpa-coding-standard/pulls)MITPHPPHP &gt;=5.4.0

Since Feb 16Pushed 7y agoCompare

[ Source](https://github.com/thanpa/thanpa-coding-standard)[ Packagist](https://packagist.org/packages/thanpa/thanpa-coding-standard)[ Docs](https://github.com/thanpa/thanpa-coding-standard)[ RSS](/packages/thanpa-thanpa-coding-standard/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Thanpa PHP CodeSniffer Coding Standard
======================================

[](#thanpa-php-codesniffer-coding-standard)

A coding standard to check against the [Thanpa coding standard](http://www.thanpa.com/coding-standard.html).

Installation
------------

[](#installation)

### Composer

[](#composer)

This standard can be installed with the [Composer](https://getcomposer.org/) dependency manager.

1. [Install Composer](https://getcomposer.org/doc/00-intro.md)
2. Install the coding standard as a dependency of your project

    ```
     composer require --dev thanpa/thanpa-coding-standard:~1.0

    ```
3. Add the coding standard to the PHP\_CodeSniffer install path

    ```
     bin/phpcs --config-set installed_paths vendor/thanpa/thanpa-coding-standard

    ```
4. Check the installed coding standard for "Thanpa"

    ```
     bin/phpcs -i

    ```
5. Done!

    ```
     bin/phpcs /path/to/code

    ```

\### Stand-alone

1. Install [PHP\_CodeSniffer](https://github.com/squizlabs/PHP_CodeSniffer)
2. Checkout this repository

    ```
     git clone git://github.com/thanpa/thanpa-coding-standard.git thanpa/thanpa-coding-standard

    ```
3. Add the coding standard to the PHP\_CodeSniffer install path

    ```
     phpcs --config-set installed_paths thanpa/thanpa-coding-standard

    ```

    Or copy/symlink this repository's "Thanpa"-folder inside the phpcs `Standards` directory
4. Check the installed coding standard for "Thanpa"

    ```
     phpcs -i

    ```
5. Done!

    ```
     phpcs /path/to/code

    ```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

3787d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3098586?v=4)[Thanasis Papapanagiotou](/maintainers/thanpa)[@thanpa](https://github.com/thanpa)

---

Tags

phpcsCoding StandardThanpa

### Embed Badge

![Health badge](/badges/thanpa-thanpa-coding-standard/health.svg)

```
[![Health](https://phpackages.com/badges/thanpa-thanpa-coding-standard/health.svg)](https://phpackages.com/packages/thanpa-thanpa-coding-standard)
```

###  Alternatives

[slevomat/coding-standard

Slevomat Coding Standard for PHP\_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.

1.5k130.4M2.1k](/packages/slevomat-coding-standard)[escapestudios/symfony2-coding-standard

CodeSniffer ruleset for the Symfony 2+ coding standard

40611.4M293](/packages/escapestudios-symfony2-coding-standard)[consistence/coding-standard

Consistence - Coding Standard - PHP Code Sniffer rules

76840.1k94](/packages/consistence-coding-standard)[webimpress/coding-standard

Webimpress Coding Standard

152.3M41](/packages/webimpress-coding-standard)[mreduar/laravel-phpcs

PHP Codesniffer ruleset to follow Laravel's coding style

3817.4k1](/packages/mreduar-laravel-phpcs)[endouble/symfony3-custom-coding-standard

Customized CodeSniffer ruleset for the Symfony3 projects

11108.6k1](/packages/endouble-symfony3-custom-coding-standard)

PHPackages © 2026

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