PHPackages                             phpactor/language-server-phpstan-extension - 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. phpactor/language-server-phpstan-extension

AbandonedArchivedPhpactor-extension[Utility &amp; Helpers](/categories/utility)

phpactor/language-server-phpstan-extension
==========================================

Standalone Language Server and Phpactor Extension

0.2.4(5y ago)48582[3 issues](https://github.com/phpactor/language-server-phpstan-extension/issues)MITPHPPHP ^7.3 || ^8.0

Since May 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/phpactor/language-server-phpstan-extension)[ Packagist](https://packagist.org/packages/phpactor/language-server-phpstan-extension)[ RSS](/packages/phpactor-language-server-phpstan-extension/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (9)Versions (8)Used By (0)

LanguageServerPhpstan
=====================

[](#languageserverphpstan)

[![CI](https://github.com/phpactor/language-server-phpstan-extension/workflows/CI/badge.svg)](https://github.com/phpactor/language-server-phpstan-extension/workflows/CI/badge.svg)

Phpstan Language Server and [Phpactor](https://github.com/phpactor/phpactor) Extension.

Provides [Language Server](https://microsoft.github.io/language-server-protocol/specification) diagnostics from [Phpstan](https://phpstan.org/).

Usage
-----

[](#usage)

### Phpactor Extension

[](#phpactor-extension)

If you are using the [Phpactor Language Server](https://phpactor.readthedocs.io/en/master/usage/language-server.html)

```
$ phpactor extension:install "phpactor/language-server-phpstan-extension"

```

### Standalone

[](#standalone)

Manually install it:

```
$ git clone git@github.com:phpactor/language-server-phpstan-extension some/path
$ cd language-server-phpstan-extension
$ composer install

```

The process of enabling the server with your client will vary. If you are using VIM and [CoC](https://github.com/neoclide/coc.nvim) it will look something like (`:CocConfig`):

```
{
    "languageserver": {
        "phpstan": {
            "enable": true,
            "command": "/some/path/bin/phpstan-ls",
            "args": ["language-server"],
            "filetypes": ["php"]
        }
    }
}

```

PHPStan Configuration
---------------------

[](#phpstan-configuration)

The extension depends on having a `phpstan.neon` in your project root which defines your projects `level` and analysis `paths` e.g.:

```
# phpstan.neon
parameters:
    level: 7
    paths: [ src ]

```

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

[](#configuration)

- `language_server_phpstan.bin`: Relative or absolute path to Phpstan. Default is `'%project_root%/vendor/bin/phpstan'`

Contributing
------------

[](#contributing)

This package is open source and welcomes contributions! Feel free to open a pull request on this repository.

Support
-------

[](#support)

- Create an issue on the main [Phpactor](https://github.com/phpactor/phpactor) repository.
- Join the `#phpactor` channel on the Slack [Symfony Devs](https://symfony.com/slack-invite) channel.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance5

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.9% 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 ~69 days

Total

6

Last Release

1856d ago

PHP version history (2 changes)0.1.0PHP ^7.3

0.2.2PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/24ec7d5d6b7ea54007be5d7b4f43800381cc1e22929f7d2276fba30e497fdfa6?d=identicon)[dantleech](/maintainers/dantleech)

---

Top Contributors

[![dantleech](https://avatars.githubusercontent.com/u/530801?v=4)](https://github.com/dantleech "dantleech (46 commits)")[![przepompownia](https://avatars.githubusercontent.com/u/11404453?v=4)](https://github.com/przepompownia "przepompownia (2 commits)")[![BladeMF](https://avatars.githubusercontent.com/u/12109622?v=4)](https://github.com/BladeMF "BladeMF (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phpactor-language-server-phpstan-extension/health.svg)

```
[![Health](https://phpackages.com/badges/phpactor-language-server-phpstan-extension/health.svg)](https://phpackages.com/packages/phpactor-language-server-phpstan-extension)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.8k15.7k](/packages/phpactor-phpactor)[amphp/windows-registry

Windows Registry Reader.

10518.5M2](/packages/amphp-windows-registry)[laragraph/utils

Utilities for using GraphQL with Laravel

2113.8M7](/packages/laragraph-utils)[thenextweb/passgenerator

A Laravel package to create Apple Wallet (old Passbook) compatible tickets.

297435.6k](/packages/thenextweb-passgenerator)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)

PHPackages © 2026

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