PHPackages                             kranack/lint-tool - 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. [CLI &amp; Console](/categories/cli)
4. /
5. kranack/lint-tool

ActiveProject[CLI &amp; Console](/categories/cli)

kranack/lint-tool
=================

Lint Tool CLI

v0.4.0(4y ago)21.3k1MITPHPPHP ^8.0CI failing

Since Feb 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kranack/lint-tool)[ Packagist](https://packagist.org/packages/kranack/lint-tool)[ RSS](/packages/kranack-lint-tool/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (11)Versions (12)Used By (1)

Lint Tool
=========

[](#lint-tool)

[![Main workflow](https://github.com/kranack/lint-tool/workflows/Main%20workflow/badge.svg)](https://github.com/kranack/lint-tool/workflows/Main%20workflow/badge.svg) [![Build Status](https://camo.githubusercontent.com/de4e3edae311ba4cd7810c607278be3f9444f080935c3c68cc6991b0a5683c56/68747470733a2f2f7472617669732d63692e6f72672f6b72616e61636b2f6c696e742d746f6f6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kranack/lint-tool) [![GitHub tag (latest SemVer)](https://camo.githubusercontent.com/f7c20dfee0549b61a2cefdebb74bfb2b49a4f77b7a6240533a4f7f8a35016e3a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6b72616e61636b2f6c696e742d746f6f6c)](https://camo.githubusercontent.com/f7c20dfee0549b61a2cefdebb74bfb2b49a4f77b7a6240533a4f7f8a35016e3a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f6b72616e61636b2f6c696e742d746f6f6c)

How it works
------------

[](#how-it-works)

This lint tool use your PHP binaries to lint your sources files. The first step to use it is to setup your environment by launching the `install` command. During the installation, it'll scan your computer searching for PHP binaries and save paths in your configuration.

This tool mainly supports [Homebrew](https://brew.sh/), other tools may or may not be well supported.

Install
-------

[](#install)

Install composer dependencies with `composer install` and run `./lint-tools install`.

### Update existing installation

[](#update-existing-installation)

To update your configuration, run `./lint-tools install --force`.

### List cached PHP instances

[](#list-cached-php-instances)

To list your PHP instances cached during your last installation, run `./lint-tools install --list`

Usage
-----

[](#usage)

After the install, you could run the lint command `./lint-tools lint [-m ] [--exclude] [--colors] [--full] [--no-local] ` where folder is the directory containing PHP sources to lint. The min option can be used to define the minimal PHP version to lint with. [Semantic Versioning](https://semver.org/) format is used.

Documentation
-------------

[](#documentation)

- [Semantic Versioning](https://semver.org/)
- [Version constraint package used](https://github.com/phar-io/version#version-constraints)
- [Linting package used](https://github.com/JakubOnderka/PHP-Parallel-Lint)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.8% 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 ~117 days

Recently: every ~146 days

Total

6

Last Release

1719d ago

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

v0.4.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2787828?v=4)[Damien Calesse](/maintainers/kranack)[@kranack](https://github.com/kranack)

---

Top Contributors

[![kranack](https://avatars.githubusercontent.com/u/2787828?v=4)](https://github.com/kranack "kranack (45 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

lintphp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/kranack-lint-tool/health.svg)

```
[![Health](https://phpackages.com/badges/kranack-lint-tool/health.svg)](https://phpackages.com/packages/kranack-lint-tool)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13045.3M6.2k](/packages/illuminate-console)

PHPackages © 2026

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