PHPackages                             phpstan/phpstan-shim - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. phpstan/phpstan-shim

Abandoned → [phpstan/phpstan](/?search=phpstan%2Fphpstan)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

phpstan/phpstan-shim
====================

PHPStan PHAR distribution - deprecated

0.12.0(6y ago)962.8M↑44.3%1520MITPHPPHP ~7.1

Since May 5Pushed 6y ago1 watchersCompare

[ Source](https://github.com/phpstan/phpstan-shim)[ Packagist](https://packagist.org/packages/phpstan/phpstan-shim)[ RSS](/packages/phpstan-phpstan-shim/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)DependenciesVersions (43)Used By (20)

phpstan/phpstan-shim
====================

[](#phpstanphpstan-shim)

**Thank you for using PHPStan!**

With the release of **PHPStan 0.12**, the primary Composer package used by most users, `phpstan/phpstan`, has switched to a PHAR file. It works the same way as `phpstan-shim`. The need for a separate PHAR distribution has ceased. Package `phpstan/phpstan-shim` is no longer needed.

You should upgrade to `phpstan/phpstan` 0.12 with the following steps:

1. In your composer.json, rewrite line with `"phpstan/phpstan-shim"`to `"phpstan/phpstan": "^0.12"`.
2. Delete your `composer.lock`.
3. Delete `vendor/phpstan` directory.
4. Delete `vendor/bin/phpstan` and `vendor/bin/phpstan.phar`.
5. Run composer install.

If you have any problem upgrading, don't hesitate to describe your issue at:

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity55

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 74.2% 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 ~23 days

Total

42

Last Release

2399d ago

PHP version history (2 changes)0.6.x-devPHP ~7.0

0.10PHP ~7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/104888?v=4)[Ondřej Mirtes](/maintainers/ondrejmirtes)[@ondrejmirtes](https://github.com/ondrejmirtes)

---

Top Contributors

[![ondrejmirtes](https://avatars.githubusercontent.com/u/104888?v=4)](https://github.com/ondrejmirtes "ondrejmirtes (49 commits)")[![fprochazka](https://avatars.githubusercontent.com/u/158625?v=4)](https://github.com/fprochazka "fprochazka (13 commits)")[![lookyman](https://avatars.githubusercontent.com/u/3863468?v=4)](https://github.com/lookyman "lookyman (3 commits)")[![JanTvrdik](https://avatars.githubusercontent.com/u/175109?v=4)](https://github.com/JanTvrdik "JanTvrdik (1 commits)")

### Embed Badge

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

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

###  Alternatives

[pattern-lab/edition-drupal-standard

Standard Edition of Pattern Lab for Drupal.

12419.1k](/packages/pattern-lab-edition-drupal-standard)[humanmade/hm-redirects

Simple plugin for handling WordPress redirects in a scalable manner.

29245.2k6](/packages/humanmade-hm-redirects)[stuttter/wp-user-groups

Group users together with taxonomies &amp; terms

514.4k](/packages/stuttter-wp-user-groups)

PHPackages © 2026

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