PHPackages                             opositatest/coding-standards - 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. opositatest/coding-standards

ActiveLibrary

opositatest/coding-standards
============================

The coding standards in the OpositaTest way

v0.1.5(3y ago)05.5kMITPHPPHP &gt;=7.4

Since Oct 27Pushed 3y ago9 watchersCompare

[ Source](https://github.com/opositatest/coding-standards)[ Packagist](https://packagist.org/packages/opositatest/coding-standards)[ RSS](/packages/opositatest-coding-standards/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (5)Dependencies (6)Versions (8)Used By (0)

Opositatest Coding Standards
============================

[](#opositatest-coding-standards)

> The coding standards in the Opositates way.

It's based on the ideas of [`LIN3S/CS`](https://github.com/LIN3S/CS).

WHY?
----

[](#why)

This package is created to centralize all the checks style of Opositatest projects, in an easy way to install all the tools and improving the maintainability. It is a flexible and customizable solution to automatize all related with coding standards.

- Checks if [Composer](https://getcomposer.org/) json has changes, the lock must be committed too.
- Fixes the PHP code with fully customizable [PHP-CS-Fixer](http://cs.sensiolabs.org/).
- Checks mess detections with [PHPMD](http://phpmd.org/).

> This library is very focused to use as pre-commit hook. The checkers only validate the files that will be committed.

Getting started
---------------

[](#getting-started)

The recommended and the most suitable way to install is through [Composer](https://getcomposer.org/). Be sure the tool is installed in your system and execute the following command:

```
$ composer require opositatest/coding-standards --dev

```

Then you have to update the `composer.json` with the following code:

```
"scripts": {
    "opos-cs-scripts": [
        "Opositatest\\CodingStandards\\Composer\\Hooks::buildDistFile",
        "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
        "Opositatest\\CodingStandards\\Composer\\Hooks::addHooks",
        "Opositatest\\CodingStandards\\Composer\\Hooks::addFiles"
    ]
},
"extra": {
    "incenteev-parameters": {
        "file": ".opos_cs.yml",
        "dist-file": ".opos_cs.yml.dist"
    },
    "scripts-dev": {
        "post-install-cmd": [
            "@opos-cs-scripts"
        ],
        "post-update-cmd": [
            "@opos-cs-scripts"
        ]
    }
}

```

> REMEMBER: The `.opos_cs.yml` file is generated dynamically with Composer. The best practices recommend that only track the `.dist` file ignoring the `.opos_cs.yml` inside `.gitignore`.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~163 days

Recently: every ~203 days

Total

6

Last Release

1208d ago

PHP version history (2 changes)v0.1.0PHP ^7.4

v0.1.3PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/33d23db34cdb32dd20ebae582d101d7eb48777143e993dd19bbc89d3275c5ae2?d=identicon)[Chrysweel](/maintainers/Chrysweel)

---

Top Contributors

[![dlores](https://avatars.githubusercontent.com/u/7313926?v=4)](https://github.com/dlores "dlores (18 commits)")[![Acomatico](https://avatars.githubusercontent.com/u/42901315?v=4)](https://github.com/Acomatico "Acomatico (1 commits)")[![jdeveloper](https://avatars.githubusercontent.com/u/8874?v=4)](https://github.com/jdeveloper "jdeveloper (1 commits)")

### Embed Badge

![Health badge](/badges/opositatest-coding-standards/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)

PHPackages © 2026

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