balthild/php-cs-fixer-lsp

Language server for php-cs-fixer

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 0

Open Issues: 0

Type:project

pkg:composer/balthild/php-cs-fixer-lsp

v0.1.8 2026-01-14 19:11 UTC

This package is auto-updated.

Last update: 2026-01-14 19:11:16 UTC


README

A Language Server Protocol (LSP) implementation for PHP CS Fixer. Unlike other existing implementations, this one keeps PHP CS Fixer processes running in the background, minimizing the overhead of initialization on each formatting request.

Installation

If you're using the vscode extension, it will download the language server automatically.

If you need the language server for other editors, you can download it manually from releases, or install it with Phive:

# I'm too dumb to know how to use GPG, so ¯\_(ツ)_/¯
phive install balthild/php-cs-fixer-lsp --force-accept-unsigned

Building from Source

Compile to a PHAR file:

make build

The output binary will be located in the build directory.

Fun Fact

This project itself does not use PHP CS Fixer but Mago. If you don't need the fine-grained control of PHP CS Fixer, give Mago a try because it's fast as ass.