BeClaude

php-lsp

30.2kOfficial PluginDevelopmentby Anthropic

PHP language server (Intelephense) for code intelligence

Python3272 forks747 issuesUpdated 6/16/2026First seen 4/17/2026

Summary

The php-lsp skill integrates the Intelephense PHP language server into Claude Code, providing real-time code intelligence for PHP development.

  • It enables features like autocompletion, go-to-definition, hover information, and error diagnostics directly in your editor, making PHP coding faster and more accurate.

Install & Usage

1
Add a marketplace
/plugin marketplace add <org/repo>
2
Install the plugin

Add the configuration to /plugin install php-lsp@<marketplace>

3
Manage with /plugin
/plugin

Use Cases

Quickly navigate to a function or class definition in a large PHP codebase without manual searching.
Get instant autocomplete suggestions for PHP built-in functions, class methods, and variable names.
Identify syntax errors and type mismatches in real-time as you write PHP code.
Hover over a symbol to see its documentation, type signature, and usage examples.
Refactor code confidently with rename functionality that updates all references across files.
Understand unfamiliar PHP libraries by inspecting their symbols and signatures on demand.

Usage Examples

1

/php-lsp go-to-definition getUserById

2

/php-lsp hover App\Models\User

3

/php-lsp autocomplete $request->

View source on GitHub
lspclaude-codemcpskills

Security Audits

LicenseUnknownSourcePassRepositoryPass

Frequently Asked Questions

What is php-lsp?

The php-lsp skill integrates the Intelephense PHP language server into Claude Code, providing real-time code intelligence for PHP development. It enables features like autocompletion, go-to-definition, hover information, and error diagnostics directly in your editor, making PHP coding faster and more accurate.

How to install php-lsp?

To install php-lsp: add a marketplace (/plugin marketplace add <org/repo>), then add the config to /plugin install php-lsp@<marketplace>. Finally, /plugin in Claude Code.

What is php-lsp best for?

php-lsp is a plugin categorized under Development. It is designed for: lsp. Created by Anthropic.

What can I use php-lsp for?

php-lsp is useful for: Quickly navigate to a function or class definition in a large PHP codebase without manual searching.; Get instant autocomplete suggestions for PHP built-in functions, class methods, and variable names.; Identify syntax errors and type mismatches in real-time as you write PHP code.; Hover over a symbol to see its documentation, type signature, and usage examples.; Refactor code confidently with rename functionality that updates all references across files.; Understand unfamiliar PHP libraries by inspecting their symbols and signatures on demand..