{"library":"intelephense","type":"library","category":null,"description":"Intelephense is a high-performance PHP language server that provides robust IDE features such as code completion, parameter hints, diagnostics, formatting, and symbol navigation. It supports PHP 7 and 8, offering comprehensive static analysis and accurate type inference for modern PHP projects. While widely recognized as a VS Code extension, the `intelephense` npm package specifically distributes the command-line interface (CLI) of the language server. This CLI enables integration with various Language Server Protocol (LSP) clients beyond VS Code or facilitates its use in automated workflows like CI/CD pipelines for linting and diagnostics. Currently at version 1.16.5 on npm, the project is actively developed, ensuring regular updates to support new PHP features and maintain compatibility with evolving editor integrations. Its primary differentiators include its speed, detailed static analysis tailored for PHP, and a rich feature set that significantly enhances PHP development experience.","language":"javascript","status":"active","version":"1.16.5","tags":["javascript","php","intellisense","completion","parameters","diagnostics","format","autocomplete","symbols"],"last_verified":"Wed May 27","install":[{"cmd":"npm install intelephense","imports":["import { spawn } from 'node:child_process'; const intelephenseProcess = spawn('intelephense', ['--version'], { stdio: 'inherit' });","import { exec } from 'node:child_process'; exec('intelephense diagnostics /path/to/project --json', (error, stdout, stderr) => { if (error) console.error(`Error: ${error.message}`); console.log(stdout); });","import { resolve } from 'node:path'; import { existsSync } from 'node:fs'; const intelephenseBin = resolve(process.cwd(), 'node_modules', '.bin', 'intelephense'); if (existsSync(intelephenseBin)) console.log(`Intelephense executable found at: ${intelephenseBin}`);"]},{"cmd":"yarn add intelephense","imports":[]},{"cmd":"pnpm add intelephense","imports":[]}],"homepage":"https://intelephense.com/","github":"https://github.com/bmewburn/intelephense-docs","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/intelephense","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/intelephense/compatibility"}}