Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

phplrt/language-server

Repository files navigation

Phplrt

Language Server

Please note that this is an experimental package!

Experimental Language Server Protocol implementation.

Requirements

  • PHP ^8.1
  • ext-socket

Usage

  1. Install and execute Language Server
  • composer install (install Composer dependencies)
  • php bin/run (run server)
  1. Install and execute Language Client (VS Code)
  • cd extension/vscode (change directory to VS Code extension)
  • npm install (install node dependencies)
  • code . (open VS Code)
  • Press F5 (execute plugin)

Example

https://github.com/phplrt/language-server/assets/2461257/9c7013fb-b4b5-43f8-a1d3-b2de2638f45b

Resources