PHPackages                             runtothefather/doctrine-psalm-plugin - 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. runtothefather/doctrine-psalm-plugin

ActivePsalm-plugin[Database &amp; ORM](/categories/database)

runtothefather/doctrine-psalm-plugin
====================================

Repository resolver to show psalm how to resolve getRepository method

0.6(6y ago)76.3k2MITPHPCI failing

Since Jan 10Pushed 6y ago2 watchersCompare

[ Source](https://github.com/runtothefather/doctrine-psalm-plugin)[ Packagist](https://packagist.org/packages/runtothefather/doctrine-psalm-plugin)[ RSS](/packages/runtothefather-doctrine-psalm-plugin/feed)WikiDiscussions master Synced 3w ago

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

doctrine-psalm-plugin
=====================

[](#doctrine-psalm-plugin)

By default psalm doesn't recognize return type for cases like this

`$object->getRepository(Entity::class)`

where $object can be instance of

> Doctrine\\Common\\Persistence\\ObjectManager
> Symfony\\Bridge\\Doctrine\\RegistryInterface
> Doctrine\\Common\\Persistence\\AbstractManagerRegistry
> Doctrine\\Common\\Persistence\\ManagerRegistry

repository class from `@ORM\Entity(repositoryClass="Doctrine\Common\Persistence\ObjectRepository")`will be returned

Usage
-----

[](#usage)

Add into your psalm.xml file into `` section line

``

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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

Total

6

Last Release

2327d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30cb0fb1883155a5c15da38f0bae922429adcf38e053e16e05ce06b64d11dbe5?d=identicon)[runtothefather](/maintainers/runtothefather)

---

Top Contributors

[![runtothefather](https://avatars.githubusercontent.com/u/8307619?v=4)](https://github.com/runtothefather "runtothefather (7 commits)")

---

Tags

phppluginstatic analysiscodeinspectionormdoctrinedbaldoctrine2extensionpsalmpsalm-plugin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/runtothefather-doctrine-psalm-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/runtothefather-doctrine-psalm-plugin/health.svg)](https://phpackages.com/packages/runtothefather-doctrine-psalm-plugin)
```

###  Alternatives

[weirdan/doctrine-psalm-plugin

Stubs to let Psalm understand Doctrine better

897.3M59](/packages/weirdan-doctrine-psalm-plugin)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M387](/packages/easycorp-easyadmin-bundle)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[api-platform/doctrine-orm

Doctrine ORM bridge

294.4M92](/packages/api-platform-doctrine-orm)[lctrs/psalm-psr-container-plugin

Let Psalm understand better psr11 containers

17679.3k13](/packages/lctrs-psalm-psr-container-plugin)

PHPackages © 2026

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