PHPackages                             novactive/phpcs-novastandards - 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. novactive/phpcs-novastandards

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

novactive/phpcs-novastandards
=============================

Novactive PHP\_CodeSniffer coding standards for eZ Publish, Symfony2, ...

1.3.1(11y ago)23.7k23BSD-2-ClausePHP

Since Feb 20Pushed 10y ago3 watchersCompare

[ Source](https://github.com/Novactive/phpcs-novastandards)[ Packagist](https://packagist.org/packages/novactive/phpcs-novastandards)[ Docs](https://github.com/Novactive/phpcs-novastandards)[ RSS](/packages/novactive-phpcs-novastandards/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (4)Used By (3)

Novactive PHP\_CodeSniffer custom standards
===========================================

[](#novactive-php_codesniffer-custom-standards)

About
=====

[](#about)

This package provides some PHP\_CodeSniffer compliant coding standards, used at [Novactive](http://www.novactive.com).

[![Build Status](https://camo.githubusercontent.com/2b16962c8afa0b25deee94f82c3edb19b4b9ed6d9f9b9a658bd2d55ebb7ab73c/68747470733a2f2f7472617669732d63692e6f72672f4e6f766163746976652f70687063732d6e6f76617374616e64617264732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Novactive/phpcs-novastandards)

Requirements
============

[](#requirements)

- [PHP\_CodeSniffer package](https://github.com/squizlabs/PHP_CodeSniffer)
- [PHP\_CodeSniffer standard for eZ Publish, from eZ Systems](https://github.com/ezsystems/ezcs/tree/master/php)

Note: the eZ Publish standard, from eZ Systems engineering team, had to be integrated to our package, as we are relying on it for our extended eZ Publish standard (there is no smart way to extend a custom standard for now)

Installation
============

[](#installation)

With Composer
-------------

[](#with-composer)

Add the dependency to your composer.json file :

```
"require-dev": {
    ...,
    "novactive/phpcs-novastandards": "~1.2"
}

```

Install it :

```
composer update novactive/phpcs-novastandards

```

Usage
=====

[](#usage)

CLI
---

[](#cli)

From the sources ROOT directory of your project :

```
./vendor/bin/phpcs --standard=vendor/novactive/phpcs-novastandards/src/NovaPSR2" src

```

PHPStorm
--------

[](#phpstorm)

### Configure CodeSniffer

[](#configure-codesniffer)

Open the PHPStorm Preferences / settings panel and go to the Code Sniffer section. You should define the value for parameter "PHP Code Sniffer (phpcs) path" for instance :

- "wwwroot/bin/phpcs" for eZ Publish
- "wwwroot/vendor/bin/phpcs" for other techno using composer
- "~/.composer/vendor/bin/phpcs" if you installed CodeSniffer globally on your system using the command:

    php composer.phar global require squizlabs/php\_codesniffer

[![PHP Code Sniffer path configuration window](./screenshots/config-phpstorm-01.png)](./screenshots/config-phpstorm-01.png)

### Configure which standard to use

[](#configure-which-standard-to-use)

Open the PHPStorm Preferences / settings panel and go to the Inspections section. You should enable "PHP &gt; PHP Code Sniffer validation" and fill in the path to required standard, for instance :

- "vendor/novactive/phpcs-novastandards/src/NovaEZ" for eZ Publish
- "vendor/novactive/phpcs-novastandards/src/NovaPSR2" for Symfony 2 and PSR2 compliant apps

[![PHP Code Sniffer standard configuration window](./screenshots/config-phpstorm-02.png)](./screenshots/config-phpstorm-02.png)

Bug and issues
==============

[](#bug-and-issues)

The standards are still under active development. Expect bugs and "false negatives" when checking code. Feel free to report them on the [issues section](https://github.com/Novactive/phpcs-novastandards/issues).

Credits
=======

[](#credits)

Thanks to :

- Squiz Labs for the [PHP\_CodeSniffer package](https://github.com/squizlabs/PHP_CodeSniffer) (some native Sniffs were extended)
- the eZ Systems engineering team for their [PHP\_CodeSniffer standard for eZ Publish](https://github.com/ezsystems/ezcs/tree/master/php).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity65

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 ~6 days

Total

2

Last Release

4098d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/313532?v=4)[Sébastien Morel](/maintainers/Plopix)[@Plopix](https://github.com/Plopix)

![](https://www.gravatar.com/avatar/7bf781acfc713c38985bfb2e7bee5fd2decefdeed1df550643af57aa8e315db7?d=identicon)[Almaviacx](/maintainers/Almaviacx)

---

Top Contributors

[![GMaissa](https://avatars.githubusercontent.com/u/1993716?v=4)](https://github.com/GMaissa "GMaissa (12 commits)")

---

Tags

standardscodesniffercheckstyleez publishpsr2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/novactive-phpcs-novastandards/health.svg)

```
[![Health](https://phpackages.com/badges/novactive-phpcs-novastandards/health.svg)](https://phpackages.com/packages/novactive-phpcs-novastandards)
```

###  Alternatives

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k234.7M20.6k](/packages/friendsofphp-php-cs-fixer)[symfony/event-dispatcher-contracts

Generic abstractions related to dispatching event

3.4k756.5M424](/packages/symfony-event-dispatcher-contracts)[symfony/service-contracts

Generic abstractions related to writing services

2.6k860.1M360](/packages/symfony-service-contracts)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

598161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[phpcsstandards/phpcsutils

A suite of utility functions for use with PHP\_CodeSniffer

6333.4M58](/packages/phpcsstandards-phpcsutils)[pragmarx/laravelcs

PHP\_CodeSniffer custom Sniff for Laravel coding standard

236111.7k2](/packages/pragmarx-laravelcs)

PHPackages © 2026

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