PHPackages                             xificurk/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. xificurk/phpstan-shim

Abandoned → [phpstan/phpstan](/?search=phpstan%2Fphpstan)ArchivedLibrary

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

PHPStan Phar distribution with bundled set of standard extensions

v0.11.8(6y ago)115.7kMITPHP ~7.1

Since Jul 29Pushed 6y ago1 watchersCompare

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

READMEChangelog (10)DependenciesVersions (23)Used By (0)

PHPStan shim
============

[](#phpstan-shim)

The prefixed `.phar` distribution of [PHPStan](https://github.com/phpstan/phpstan) is built using [phpstan-compiler](https://github.com/xificurk/phpstan-compiler)

Usage
-----

[](#usage)

Install the package

```
composer require --dev xificurk/phpstan-shim
```

and use it like the original executable

```
vendor/bin/phpstan.phar analyse src
```

Check out the main repo for more options

Configuration
-------------

[](#configuration)

It is recommended, that you set a `tmpDir` in your `phpstan.neon`, otherwise it uses the system temp directory.

```
parameters:
    tmpDir: var/cache/phpstan

```

Extensions
----------

[](#extensions)

Contrary to [phpstan/phpstan-shim](https://github.com/phpstan/phpstan-shim) this distribution contains several PHPStan extensions:

- [Dibi - Database Abstraction Library](https://github.com/phpstan/phpstan-dibi)
- [Doctrine](https://github.com/phpstan/phpstan-doctrine)
- [Nette Framework](https://github.com/phpstan/phpstan-nette)
- [PHPUnit](https://github.com/phpstan/phpstan-phpunit)
- [PHPStan rules for checked &amp; unchecked exceptions](https://github.com/pepakriz/phpstan-exception-rules)

You can enable them, by including their config with a `phar://phpstan.phar/` prefix.

```
includes:
	- phar://phpstan.phar/vendor/phpstan/phpstan-doctrine/extension.neon

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Total

22

Last Release

2380d ago

PHP version history (2 changes)v0.7.0PHP ~7.0

v0.10.0PHP ~7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b4780fe328102c4572737db639653c29d3081d1d3e051467f00d7f09a776399?d=identicon)[xificurk](/maintainers/xificurk)

---

Top Contributors

[![xificurk](https://avatars.githubusercontent.com/u/117465?v=4)](https://github.com/xificurk "xificurk (29 commits)")

### Embed Badge

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

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

PHPackages © 2026

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