PHPackages                             taptima/phpstan-custom - 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. [Database &amp; ORM](/categories/database)
4. /
5. taptima/phpstan-custom

ActivePhpstan-extension[Database &amp; ORM](/categories/database)

taptima/phpstan-custom
======================

Taptima extensions for PHPStan

8.1.1(4y ago)1417.2k↓37.5%1MITPHPPHP ^8.1CI failing

Since Apr 1Pushed 4y ago1 watchersCompare

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

READMEChangelogDependencies (13)Versions (7)Used By (0)

[Taptima](https://taptima.ru/) customs extensions for PHPStan
=============================================================

[](#taptima-customs-extensions-for-phpstan)

[![Latest Stable Version](https://camo.githubusercontent.com/4c80f56c06ad19a4d22bd726c19f26fa96b4c61f9b73a014d839cb4e1d69c5e4/68747470733a2f2f706f7365722e707567782e6f72672f74617074696d612f7068707374616e2d637573746f6d2f762f737461626c65)](https://packagist.org/packages/taptima/phpstan-custom)[![License](https://camo.githubusercontent.com/360ac954090110ae961eecf75ffa45ac9561931adc8820c80774186bb9542d43/68747470733a2f2f706f7365722e707567782e6f72672f74617074696d612f7068707374616e2d637573746f6d2f6c6963656e7365)](https://packagist.org/packages/taptima/phpstan-custom)

- [PHPStan](https://phpstan.org/)

This extension provides following features:

- Validates common entity properties existence of methods `set*`, `get*`.
- Validates boolean entity properties existence of methods `set*`, `is*` or `has*`.
- Validates `ArrayCollection` entity properties existence of methods `add*`, `remove*` and `get*`.

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

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this extension:

```
composer require --dev taptima/phpstan-custom dev-master
```

Then include extension.neon in your project's PHPStan config:

```
includes:
    - vendor/taptima/phpstan-custom/extension.neon
```

and

```
includes:
    - vendor/taptima/phpstan-custom/rules.neon
```

This extensions depends on [phpstan-doctrine](https://github.com/phpstan/phpstan-doctrine), so you have to configure it.

Contribution
------------

[](#contribution)

Before to create a pull request to submit your contributon, you must:

- run tests and be sure nothing is broken

### How to run tests

[](#how-to-run-tests)

```
make test
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 70.6% 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 ~150 days

Recently: every ~157 days

Total

6

Last Release

1489d ago

Major Versions

1.1 → 2.02021-09-14

2.0 → 8.1.02022-04-05

PHP version history (4 changes)1.0PHP ~7.1

1.1PHP ^7.2

2.0PHP ^7.4 || ^8.0

8.1.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/62138568?v=4)[Taptima](/maintainers/taptima)[@taptima](https://github.com/taptima)

---

Top Contributors

[![koninka](https://avatars.githubusercontent.com/u/3918095?v=4)](https://github.com/koninka "koninka (12 commits)")[![INNO1337tap](https://avatars.githubusercontent.com/u/90593862?v=4)](https://github.com/INNO1337tap "INNO1337tap (1 commits)")[![koberskii](https://avatars.githubusercontent.com/u/68580270?v=4)](https://github.com/koberskii "koberskii (1 commits)")[![mogilyovkin-taptima](https://avatars.githubusercontent.com/u/62234523?v=4)](https://github.com/mogilyovkin-taptima "mogilyovkin-taptima (1 commits)")[![Mup0c](https://avatars.githubusercontent.com/u/24225992?v=4)](https://github.com/Mup0c "Mup0c (1 commits)")[![ondrejmirtes](https://avatars.githubusercontent.com/u/104888?v=4)](https://github.com/ondrejmirtes "ondrejmirtes (1 commits)")

---

Tags

doctrinephpphp7phpstansymfonyPHPStancode qualityphpstan-rules

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[ekino/phpstan-banned-code

Detected banned code using PHPStan

2925.6M92](/packages/ekino-phpstan-banned-code)[ergebnis/phpstan-rules

Provides rules for phpstan/phpstan.

4428.9M187](/packages/ergebnis-phpstan-rules)[staabm/phpstan-dba

2912.3M2](/packages/staabm-phpstan-dba)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2592.8M263](/packages/ssch-typo3-rector)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

134391.5k12](/packages/rector-rector-src)[sidz/phpstan-rules

Set of PHPStan rules

31408.9k12](/packages/sidz-phpstan-rules)

PHPackages © 2026

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