PHPackages                             lychee-org/phpstan-lychee - 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. lychee-org/phpstan-lychee

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

lychee-org/phpstan-lychee
=========================

Set of rules for all Lychee related php repo

2.0.3(4mo ago)18811[3 PRs](https://github.com/LycheeOrg/phpstan-lychee/pulls)3MITPHPCI passing

Since Jan 11Pushed 1mo ago7 watchersCompare

[ Source](https://github.com/LycheeOrg/phpstan-lychee)[ Packagist](https://packagist.org/packages/lychee-org/phpstan-lychee)[ RSS](/packages/lychee-org-phpstan-lychee/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (17)Used By (3)

phpstan-lychee
==============

[](#phpstan-lychee)

[PHPStan](https://phpstan.org/) focuses on finding bugs in your code. But in PHP there's a lot of leeway in how stuff can be written. This repository contains a set of rules that are applied on each LycheeOrg PHP repository.

This includes:

- phpstan/phpstan — obviously...
- phpstan/phpstan-deprecation-rules — avoiding any deprecation
- phpstan/phpstan-strict-rules — strict and opinionated rules
- thecodingmachine/phpstan-safe-rule — Ensure the use of `Safe` code
- nunomaduro/larastan — stubs for Laravel
- slam/phpstan-extensions — No unused variables
- symplify/phpstan-rules — A lot of stricter rules with regard to coding standards.

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

[](#installation)

To use this extension, require it in [Composer](https://getcomposer.org/):

```
composer require --dev lychee-org/phpstan-lychee

```

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance83

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity54

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

Recently: every ~106 days

Total

10

Last Release

137d ago

Major Versions

v1.0.5 → v2.0.02025-03-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/a33a8047d03c3dee75b8026b1162dd3be07b104027dc697a3461d9b911c6e526?d=identicon)[ildyria](/maintainers/ildyria)

![](https://www.gravatar.com/avatar/71fb43455d6b9c81640fa7db430853044475a38ea0c8da779283c704413a1a27?d=identicon)[nagmat84](/maintainers/nagmat84)

![](https://www.gravatar.com/avatar/475c6b47f172dfe74ed8b7700e654d62e0ff2ba89d48a52d296e270b97ac6c35?d=identicon)[d7415](/maintainers/d7415)

---

Top Contributors

[![ildyria](https://avatars.githubusercontent.com/u/627094?v=4)](https://github.com/ildyria "ildyria (20 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![ppshobi](https://avatars.githubusercontent.com/u/8536607?v=4)](https://github.com/ppshobi "ppshobi (2 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/lychee-org-phpstan-lychee/health.svg)

```
[![Health](https://phpackages.com/badges/lychee-org-phpstan-lychee/health.svg)](https://phpackages.com/packages/lychee-org-phpstan-lychee)
```

###  Alternatives

[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)[ticketswap/phpstan-error-formatter

A minimalistic error formatter for PHPStan

87578.8k35](/packages/ticketswap-phpstan-error-formatter)[worksome/coding-style

Worksomes coding style

49771.7k57](/packages/worksome-coding-style)

PHPackages © 2026

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