Skill Development Limited info

php-lsp

A Claude Code plugin that connects the Intelephense PHP language server to provide code intelligence and diagnostics for PHP files.

  • 37.6k GitHub stars
npm install -g intelephense
php-lsp — illustration

What it is

php-lsp is a Claude Code plugin that provides a PHP language server, Intelephense, to Claude Code. Its purpose is to bring code intelligence and diagnostics to PHP code. The plugin supports files with the .php extension. It depends on Intelephense being installed on the system, and the README gives instructions for installing it globally with either npm or yarn. The README links to the Intelephense website (https://intelephense.com/) and the Intelephense package on npm (https://www.npmjs.com/package/intelephense) for more information.

Who it's for

  • PHP developers using Claude Code
  • Developers who want code intelligence and diagnostics for .php files in Claude Code

Requirements

Requirements

  • Intelephense installed globally (via npm or yarn)
  • npm or yarn to install Intelephense

Setup

  1. Install Intelephense with npm

    Install the Intelephense language server globally via npm.

    bash
    npm install -g intelephense
  2. Or install Intelephense with yarn

    As an alternative to npm, install Intelephense globally with yarn.

    bash
    yarn global add intelephense

هاد البلجن بيربط Claude Code مع Intelephense، سيرفر اللغة تبع PHP، مشان يعطيك ذكاء بالكود وتشخيص للأخطاء بملفات PHP.