PHP LSP Claude Plugin
Back to directory
PHP LSP logo

PHP LSP

PHP/Laravel 28,289 installs Apr 22, 2026

Powered by Intelephense, PHP LSP adds rich PHP code intelligence to Claude Code. It reads your project files and builds a symbol index so it can generate context-aware completions, show function and method signatures as you type, and infer basic types across files. The server watches for file changes and updates diagnostics in real time, so you see unused variables, undefined methods, and probable type mismatches without running tests.

It offers navigation primitives developers expect: jump to definition, find all references, and search symbols across the workspace. The extension checks docblocks and PHP 7+/8+ type hints, resolves namespaces and use statements, and reports common runtime issues. Completions include properties, methods, class names, and imported functions based on the current scope.

Configuration options let you tune indexing depth, exclude folders, and set memory limits for large repositories. The plugin connects Claude Code to Intelephense’s diagnostics and keeps responses fast by caching parsed ASTs and reusing them between edits.

Use it when you're refactoring a Laravel or Symfony app: the plugin finds all references to a model or service, shows where types diverge, and lets you jump between controllers, models, and views without switching to an external IDE — saving time and context switches during a sprint.

Without this tool

  • No standardized plugin ecosystem
  • Tools are manually integrated
  • Fragmented AI capabilities

With this tool

  • Unified plugin ecosystem for Claude
  • Standardized tool integrations
  • Composable AI capabilities

Install

/plugin install php-lsp@claude-plugins-official

Tags

php
lsp
intelephense
completions
diagnostics