AxonDocs
Language Servers
Axon documentation

PHP

PHP language-server support in Axon.

PHP

PHP language server

PHP support for Composer projects, diagnostics, navigation, symbols, and completions.

Delivery

requires PHP runtime and server resources

Activation

.php files and composer.json workspaces

Capabilities

Understands classes, namespaces, functions, methods, symbols, and diagnostics.
Uses Composer metadata and installed dependencies for project-aware navigation.
Supports completions, hover, definitions, references, rename, and formatting where available.

Setup

Install PHP and Composer for the project.
Run composer install before judging unresolved vendor types.
Open the folder that owns composer.json.

Troubleshooting

Missing vendor symbols usually mean dependencies are not installed.
Wrong PHP versions can create false diagnostics.
Framework magic may need stubs or framework-specific tooling.