PHPackages                             quant/phpstan - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. quant/phpstan

ActivePhpstan-extension[Testing &amp; Quality](/categories/testing)

quant/phpstan
=============

phpstan extensions for quant

1.0(2y ago)03.1k2MITPHPPHP ^8.2

Since Jan 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/quant-php/phpstan)[ Packagist](https://packagist.org/packages/quant/phpstan)[ Docs](https://quant-php.dev/docs/packages/quant/phpstan)[ RSS](/packages/quant-phpstan/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (3)Used By (2)

quant/phpstan
=============

[](#quantphpstan)

[phpstan](https://phpstan.org/) extensions for **quant**.

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

[](#installation)

The extension is already available with [quant/quant](https://github.com/quant-php/quant).

To register this extension with your project, use

```
$ composer require --dev phpstan/extension-installer && \
  composer require --dev quant/phpstan
```

This should automatically register the extension with your **phpstan** installation:

```
includes:
	- vendor/quant/phpstan
```

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

[](#documentation)

**quant/phpstan** provides support for properly analysing classes that use `getter` / `setter` automation with the help of [**Quant\\Core\\Trait\\AccessorTrait**](https://quant-php.dev/docs/packages/quant/core#1-automated-gettersetter-creation).

```
#[Getter]
#[Setter(Modifier::PROTECTED)]
class A
{
    private string $value;
}
```

will register with availability of `A`:

```
@method A setValue(string $value)
@method string getValue()

```

Modifiers are considered: `setValue()` will be registered with `protected` access in this case.

Resources
---------

[](#resources)

- [Report issues](https://github.com/quant-php/quant/issues) and [send Pull Requests](https://github.com/quant-php/quant/pulls)in the [main quant repository](https://github.com/quant-php/quant)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

845d ago

### Community

Maintainers

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

---

Top Contributors

[![ThorstenSuckow](https://avatars.githubusercontent.com/u/823135?v=4)](https://github.com/ThorstenSuckow "ThorstenSuckow (15 commits)")

---

Tags

PHPStanextensionquant

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[staabm/phpstan-dba

2912.3M2](/packages/staabm-phpstan-dba)[staabm/phpstan-todo-by

1991.8M55](/packages/staabm-phpstan-todo-by)[gecko-packages/gecko-php-unit

Additional PHPUnit asserts and constraints.

1373.9M4](/packages/gecko-packages-gecko-php-unit)[jbzoo/ci-report-converter

The tool converts different error reporting standards for deep integration with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc)

30784.4k2](/packages/jbzoo-ci-report-converter)

PHPackages © 2026

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