PHPackages                             programic/php-linting-rules - 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. programic/php-linting-rules

ActiveLibrary

programic/php-linting-rules
===========================

Shared linting rules for PHP projects

v1.0.3(5mo ago)01.6k↓37.5%MITPHPPHP ^8.2

Since Jun 13Pushed 5mo agoCompare

[ Source](https://github.com/programic/php-linting-rules)[ Packagist](https://packagist.org/packages/programic/php-linting-rules)[ RSS](/packages/programic-php-linting-rules/feed)WikiDiscussions main Synced 1mo ago

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

🚀 About
=======

[](#-about)

This package is meant to store all the linting rules for PHP projects at Programic. It contains the following linting tools at the moment:

- [Larastan](https://github.com/larastan/larastan)
- [TLint](https://github.com/tighten/tlint)
- [PHPMD](https://phpmd.org/)
- [ECS](https://github.com/easy-coding-standard/easy-coding-standard) with rules from:
    - [PHP Coding Standards Fixer](https://cs.symfony.com/)
    - [Slevomat](https://github.com/slevomat/coding-standard)

✅ Compatibility
---------------

[](#-compatibility)

Laravel VersionMinimum PHP Version12.x8.2 - 8.411.x8.2 - 8.4🏗️ Installing
=============

[](#️-installing)

1. Require the composer package
-------------------------------

[](#1-require-the-composer-package)

```
composer require --dev programic/php-linting-rules
```

2. Run the setup command
------------------------

[](#2-run-the-setup-command)

```
vendor/bin/programic-lint-setup
```

This command will:

- Setup the scripts to the consuming project it's `composer.json`
- Brings the config files to the workspace root, if not exists. This is required for the package to work properly.

> Use `--force` to overwrite configuration files.

👷 Usage
=======

[](#-usage)

After installing running the setup command, you can run the following commands to check your code:

```
composer lint
composer lint:tlint
composer lint:phpmd
composer lint:phpstan
composer lint:ecs
composer lint:fix
```

Editor Setup
------------

[](#editor-setup)

Some tools have integrations to work with your editor. You can find the instructions for each tool below:

- [TLint for PHPstorm, Sublime or VSCode](https://github.com/tighten/tlint?tab=readme-ov-file#editor-integrations)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance69

Regular maintenance activity

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~40 days

Total

5

Last Release

179d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/04de5632caf547d8dfa4ffbfac25d0538f92f1e9d52d2f91a2d1d6f17a9561a5?d=identicon)[Programic](/maintainers/Programic)

---

Top Contributors

[![mikemeijer](https://avatars.githubusercontent.com/u/26802831?v=4)](https://github.com/mikemeijer "mikemeijer (4 commits)")[![nickverschoor](https://avatars.githubusercontent.com/u/6236713?v=4)](https://github.com/nickverschoor "nickverschoor (1 commits)")[![rick-bongers](https://avatars.githubusercontent.com/u/67374906?v=4)](https://github.com/rick-bongers "rick-bongers (1 commits)")

### Embed Badge

![Health badge](/badges/programic-php-linting-rules/health.svg)

```
[![Health](https://phpackages.com/badges/programic-php-linting-rules/health.svg)](https://phpackages.com/packages/programic-php-linting-rules)
```

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[worksome/coding-style

Worksomes coding style

49771.7k57](/packages/worksome-coding-style)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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