PHPackages                             ijvo/nette-code-checker - 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. ijvo/nette-code-checker

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

ijvo/nette-code-checker
=======================

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

v3.3.3(1y ago)04BSD-3-ClausePHPPHP &gt;= 8.0

Since Aug 18Pushed 1y agoCompare

[ Source](https://github.com/IJVo/nette-code-checker)[ Packagist](https://packagist.org/packages/ijvo/nette-code-checker)[ RSS](/packages/ijvo-nette-code-checker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (10)Versions (33)Used By (0)

Code Checker
============

[](#code-checker)

[![Downloads this Month](https://camo.githubusercontent.com/6745a61327bac5c4ac870c8749393bf30db877607c2f32b3fb909b29c6838e83/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6e657474652f636f64652d636865636b65722e737667)](https://packagist.org/packages/nette/code-checker)[![Tests](https://github.com/nette/code-checker/workflows/Tests/badge.svg?branch=master)](https://github.com/nette/code-checker/actions)[![Latest Stable Version](https://camo.githubusercontent.com/ecc09b48a8a45a71e5333592620a46ecd4e595b1fa3c1c2f247dae6cf209da95/68747470733a2f2f706f7365722e707567782e6f72672f6e657474652f636f64652d636865636b65722f762f737461626c65)](https://github.com/nette/code-checker/releases)[![License](https://camo.githubusercontent.com/fa7d5fcf2c84b580327af52da95dd751703af65f079dc3c5a0081beac0789718/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e65772532304253442d626c75652e737667)](https://github.com/nette/code-checker/blob/master/license.md)

Introduction
------------

[](#introduction)

The tool called that checks and possibly repairs some of the formal errors in your source code.

Documentation can be found on the [website](https://doc.nette.org/code-checker). If you like it, **[please make a donation now](https://github.com/sponsors/dg)**. Thank you!

Usage
-----

[](#usage)

```
Usage: php code-checker [options]

Options:
    -d              Folder or file to scan (default: current directory)
    -i | --ignore   Files to ignore
    -f | --fix            Fixes files
    -l | --eol            Convert newline characters
    --no-progress         Do not show progress dots
    --strict-types        Checks whether PHP 7.0 directive strict_types is enabled

```

Without parameters, it checks the current working directory in a read-only mode, with `-f` parameter it fixes files.

Before you get to know the tool, be sure to backup your files first.

You can create a batch file, e.g. `code.bat`, for easier execution of Code-Checker under Windows:

```
php path_to\Nette_tools\Code-Checker\code-checker %*
```

What Code-Checker Does?
-----------------------

[](#what-code-checker-does)

- removes [BOM](https://doc.nette.org/glossary#toc-bom)
- checks validity of [Latte](https://latte.nette.org) templates
- checks validity of `.neon`, `.php` and `.json` files
- checks for [control characters](https://doc.nette.org/glossary#toc-control-characters)
- checks whether the file is encoded in UTF-8
- controls misspelled `/* @annotations */` (second asterisk missing)
- removes PHP ending tags `?>` in PHP files
- removes trailing whitespace and unnecessary blank lines from the end of a file
- normalizes line endings to system-default (with the `-l` parameter)

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

[](#installation)

Install it via Composer. This project is not meant to be run as a dependency, so install it as standalone:

```
composer create-project nette/code-checker

```

Or install it globally via:

```
composer global require nette/code-checker

```

and make sure your global vendor binaries directory is in [your `$PATH` environment variable](https://getcomposer.org/doc/03-cli.md#global).

It requires PHP version 8.0.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 96.3% 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 ~125 days

Recently: every ~345 days

Total

31

Last Release

522d ago

Major Versions

v2.13.0 → v3.0.02018-05-28

PHP version history (6 changes)v2.2.0PHP &gt;= 5.3.1

v2.7.0PHP &gt;= 5.4

v2.12.0PHP &gt;= 5.6

v3.0.0PHP &gt;= 7.1

v3.2.0PHP &gt;= 7.2

v3.3.0PHP &gt;= 8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18380028?v=4)[Ing. Jaroslav Vaculík, IJVo](/maintainers/IJVo)[@IJVo](https://github.com/IJVo)

---

Top Contributors

[![dg](https://avatars.githubusercontent.com/u/194960?v=4)](https://github.com/dg "dg (181 commits)")[![grogy](https://avatars.githubusercontent.com/u/1322983?v=4)](https://github.com/grogy "grogy (2 commits)")[![IJVo](https://avatars.githubusercontent.com/u/18380028?v=4)](https://github.com/IJVo "IJVo (1 commits)")[![jakubs](https://avatars.githubusercontent.com/u/115272?v=4)](https://github.com/jakubs "jakubs (1 commits)")[![janpecha](https://avatars.githubusercontent.com/u/637719?v=4)](https://github.com/janpecha "janpecha (1 commits)")[![mzk](https://avatars.githubusercontent.com/u/382475?v=4)](https://github.com/mzk "mzk (1 commits)")[![vlastavesely](https://avatars.githubusercontent.com/u/22521379?v=4)](https://github.com/vlastavesely "vlastavesely (1 commits)")

---

Tags

codenetteanalyse

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ijvo-nette-code-checker/health.svg)

```
[![Health](https://phpackages.com/badges/ijvo-nette-code-checker/health.svg)](https://phpackages.com/packages/ijvo-nette-code-checker)
```

###  Alternatives

[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.3k64.2M576](/packages/nette-php-generator)[nasext/dependent-select-box

Dependent Select Box for Nette Framework.

21262.8k2](/packages/nasext-dependent-select-box)[uestla/twigrid

Experimental DataGrid for Nette Framework

1712.3k2](/packages/uestla-twigrid)

PHPackages © 2026

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