PHPackages                             struggle-for-php/sfp-phpstan-dont-operation-inside-constructor - 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. struggle-for-php/sfp-phpstan-dont-operation-inside-constructor

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

struggle-for-php/sfp-phpstan-dont-operation-inside-constructor
==============================================================

Extra strict and opinionated resource operation rules for PHPStan

0.1.0(2y ago)1413[1 PRs](https://github.com/struggle-for-php/sfp-phpstan-dont-operation-inside-constructor/pulls)MITPHP ^7.2.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0

Since Nov 11Compare

[ Source](https://github.com/struggle-for-php/sfp-phpstan-dont-operation-inside-constructor)[ Packagist](https://packagist.org/packages/struggle-for-php/sfp-phpstan-dont-operation-inside-constructor)[ RSS](/packages/struggle-for-php-sfp-phpstan-dont-operation-inside-constructor/feed)WikiDiscussions Synced yesterday

READMEChangelogDependencies (9)Versions (4)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/struggle-for-php/sfp-phpstan-dont-operation-inside-constructor).

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Every ~0 days

Total

4

Last Release

966d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4eed2726ad1fce689a99672d965d8b4a387f030f08290e00708b66e4621139d2?d=identicon)[sasezaki](/maintainers/sasezaki)

---

Top Contributors

[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (12 commits)")

---

Tags

PHPStanstatic analysisconstructorresourceoperation

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/struggle-for-php-sfp-phpstan-dont-operation-inside-constructor/health.svg)

```
[![Health](https://phpackages.com/badges/struggle-for-php-sfp-phpstan-dont-operation-inside-constructor/health.svg)](https://phpackages.com/packages/struggle-for-php-sfp-phpstan-dont-operation-inside-constructor)
```

###  Alternatives

[larastan/larastan

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

6.5k55.4M8.4k](/packages/larastan-larastan)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

79475.7M2.2k](/packages/phpstan-phpstan-symfony)[shipmonk/dead-code-detector

Dead code detector to find unused PHP code via PHPStan extension. Can automatically remove dead PHP code. Supports libraries like Symfony, Doctrine, PHPUnit etc. Detects dead cycles. Can detect dead code that is tested.

4853.5M91](/packages/shipmonk-dead-code-detector)[phpstan/phpstan-doctrine

Doctrine extensions for PHPStan

67272.8M1.4k](/packages/phpstan-phpstan-doctrine)[ekino/phpstan-banned-code

Detected banned code using PHPStan

3016.2M119](/packages/ekino-phpstan-banned-code)[spaze/phpstan-disallowed-calls

PHPStan rules to detect disallowed method &amp; function calls, constant, namespace, attribute, property &amp; superglobal usages, with powerful rules to re-allow a call or a usage in places where it should be allowed.

33422.6M550](/packages/spaze-phpstan-disallowed-calls)

PHPackages © 2026

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