PHPackages                             spryker-sdk/phpstan-spryker - 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. spryker-sdk/phpstan-spryker

ActiveLibrary[Testing &amp; Quality](/categories/testing)

spryker-sdk/phpstan-spryker
===========================

Spryker PHPStan Extensions

0.5.1(4mo ago)42.6M↓35%4[2 issues](https://github.com/spryker-sdk/phpstan-spryker/issues)[1 PRs](https://github.com/spryker-sdk/phpstan-spryker/pulls)20MITPHPPHP &gt;=8.3CI passing

Since Dec 20Pushed 4mo ago9 watchersCompare

[ Source](https://github.com/spryker-sdk/phpstan-spryker)[ Packagist](https://packagist.org/packages/spryker-sdk/phpstan-spryker)[ Docs](https://spryker.com)[ RSS](/packages/spryker-sdk-phpstan-spryker/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (8)Versions (15)Used By (20)

Spryker PHPStan Extensions
==========================

[](#spryker-phpstan-extensions)

[![Build Status](https://github.com/spryker-sdk/phpstan-spryker/workflows/CI/badge.svg?branch=master)](https://github.com/spryker-sdk/phpstan-spryker/actions?query=workflow%3ACI+branch%3Amaster)[![Minimum PHP Version](https://camo.githubusercontent.com/79ac187c3223b8ca823e61529e5b4b0d13fce915b009c6dd61e3767beb5acc0d/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e332d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/6eed53ed87a5a3da67fdab33d072607cd4b5960f973238467b6d2ae4c765ed29/68747470733a2f2f706f7365722e707567782e6f72672f737072796b65722f636f64652d736e69666665722f6c6963656e73652e737667)](https://packagist.org/packages/spryker-sdk/phpstan-spryker)

- [PHPStan](https://github.com/phpstan/phpstan)
- [Spryker](https://spryker.com/)

This extension provides following features:

- Notifies you when you try to use `getConfig()`, `getClient()`, `getFacade()`, `getFactory()`, `getSharedConfig()`, `getQueryContainer()` methods without specifying theirs types in a class's DocBlock.

Usage
-----

[](#usage)

### How to use in Spryker projects

[](#how-to-use-in-spryker-projects)

To use this extension, require it in [Composer](https://getcomposer.org/). Make sure you include the repo as `require-dev` dependency:

```
composer require --dev spryker-sdk/phpstan-spryker

```

You can use [phpstan/extension-installer](https://github.com/phpstan/extension-installer) to automatically load the configuration:

```
composer require --dev phpstan/extension-installer

```

Or include the `extension.neon` manually in your project's PHPStan config:

```
includes:
    - vendor/spryker-sdk/phpstan-spryker/extension.neon

```

###  Health Score

59

—

FairBetter than 98% of packages

Maintenance66

Regular maintenance activity

Popularity46

Moderate usage in the ecosystem

Community42

Growing community involvement

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 52.8% 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 ~238 days

Recently: every ~129 days

Total

12

Last Release

133d ago

PHP version history (6 changes)0.1PHP &gt;=7.1

0.3.0PHP &gt;=7.2

0.4.0PHP &gt;=7.3

0.4.1PHP &gt;=8.1

0.4.2PHP &gt;=8.2

0.4.3PHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10738957?v=4)[Spryker Bot](/maintainers/spryker-bot)[@spryker-bot](https://github.com/spryker-bot)

---

Top Contributors

[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (57 commits)")[![olhalivitchuk](https://avatars.githubusercontent.com/u/77281282?v=4)](https://github.com/olhalivitchuk "olhalivitchuk (17 commits)")[![pushokwhite](https://avatars.githubusercontent.com/u/4017411?v=4)](https://github.com/pushokwhite "pushokwhite (9 commits)")[![Nidhognit](https://avatars.githubusercontent.com/u/13098647?v=4)](https://github.com/Nidhognit "Nidhognit (6 commits)")[![limeeugenia](https://avatars.githubusercontent.com/u/25685017?v=4)](https://github.com/limeeugenia "limeeugenia (6 commits)")[![yaroslav-spryker](https://avatars.githubusercontent.com/u/80392698?v=4)](https://github.com/yaroslav-spryker "yaroslav-spryker (4 commits)")[![gechetspr](https://avatars.githubusercontent.com/u/42143273?v=4)](https://github.com/gechetspr "gechetspr (4 commits)")[![asmarovydlo](https://avatars.githubusercontent.com/u/15832795?v=4)](https://github.com/asmarovydlo "asmarovydlo (2 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (1 commits)")[![spryker-release-bot](https://avatars.githubusercontent.com/u/26904324?v=4)](https://github.com/spryker-release-bot "spryker-release-bot (1 commits)")[![vol4onok](https://avatars.githubusercontent.com/u/5063777?v=4)](https://github.com/vol4onok "vol4onok (1 commits)")

---

Tags

PHPStananalyzing

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  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)[staabm/phpstan-dba

2942.6M2](/packages/staabm-phpstan-dba)

PHPackages © 2026

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