balthild/php-cs-fixer-lsp

Language server for php-cs-fixer

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:project

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

v0.1.6 2026-01-12 22:06 UTC

This package is auto-updated.

Last update: 2026-01-12 22:40:24 UTC


README

This project provides a Language Server Protocol (LSP) implementation for PHP CS Fixer. Unlike other existing implementations, this one runs PHP CS Fixer continuously in the background, minimizing the initialization time overhead for 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 will be located at 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 super-fast!