PHPackages                             tomasvotruba/ctor - 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. tomasvotruba/ctor

ActivePhpstan-extension

tomasvotruba/ctor
=================

Prefer constructor over always called setters

2.2.1(3mo ago)1119.3k↑32.4%MITPHP ^7.4|^8.0

Since Jul 9Compare

[ Source](https://github.com/TomasVotruba/ctor)[ Packagist](https://packagist.org/packages/tomasvotruba/ctor)[ Fund](https://www.paypal.me/rectorphp)[ GitHub Sponsors](https://github.com/tomasvotruba)[ RSS](/packages/tomasvotruba-ctor/feed)WikiDiscussions Synced today

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/TomasVotruba/ctor).

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance82

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Recently: every ~5 days

Total

12

Last Release

95d ago

Major Versions

0.2.0 → 2.2.02025-12-12

0.2.1 → 2.2.12025-12-17

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/924196?v=4)[Tomas Votruba](/maintainers/TomasVotruba)[@TomasVotruba](https://github.com/TomasVotruba)

### Embed Badge

![Health badge](/badges/tomasvotruba-ctor/health.svg)

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

###  Alternatives

[symplify/phpstan-rules

Set of Symplify rules for PHPStan

25710.6M192](/packages/symplify-phpstan-rules)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2602.7M212](/packages/ssch-typo3-rector)[tomasvotruba/unused-public

Detect unused public properties, constants and methods in your code

1933.1M80](/packages/tomasvotruba-unused-public)[rector/type-perfect

Next level type declaration checks

1014.7M106](/packages/rector-type-perfect)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

133387.3k7](/packages/rector-rector-src)[setono/doctrine-orm-batcher

A library for processing large collections in Doctrine

28623.1k5](/packages/setono-doctrine-orm-batcher)

PHPackages © 2026

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