PHPackages                             php-lsp/skeleton - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. php-lsp/skeleton

ActiveProject[Utility &amp; Helpers](/categories/utility)

php-lsp/skeleton
================

The skeleton application for the Language Server Protocol extension

112PHPCI passing

Since Jan 31Pushed 1y ago1 watchersCompare

[ Source](https://github.com/php-lsp/skeleton)[ Packagist](https://packagist.org/packages/php-lsp/skeleton)[ RSS](/packages/php-lsp-skeleton/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://avatars.githubusercontent.com/u/153323085?s=120) ](https://github.com/php-lsp)

About Language Server Protocol
------------------------------

[](#about-language-server-protocol)

> \[ALARM\] This is not the final version!

---

LSP is a protocol for interaction with a client using the JSON-RPC 2.0 codec, where arbitrary editors and IDEs act as clients.

The protocol is supported by many clients, such as:

**Most Popular Editors:**

- [VSCode](https://code.visualstudio.com/)
- [Vim (Neovim)](https://neovim.io/)
- [Atom](https://atom.io/)
- [Brackets](https://brackets.io/)
- [Lapce](https://lap.dev/lapce/)
- [GigaIDE Cloud](https://gitverse.ru/features/gigaide/cloud/)
- [JetBrains Fleet](https://www.jetbrains.com/fleet/)
- [Sublime](https://github.com/sublimelsp/LSP)
- *...etc*

**Most Popular IDE:**

- [JetBrains (PhpStorm, IDEA, RustRover, GoLand, etc)](https://www.jetbrains.com/)
- [GigaIDE Desktop](https://gitverse.ru/features/gigaide/desktop/)
- [Eclipse](https://www.eclipse.org/)
- [Emacs](https://www.gnu.org/software/emacs/)
- [QT Creator](https://www.qt.io/product/development-tools)
- [RAD Studio](https://www.embarcadero.com/products/rad-studio)
- [Visual Studio](https://marketplace.visualstudio.com/items?itemName=vsext.LanguageServerClientPreview)
- *...etc*

This project gives you the opportunity to write your own plugins for any editor or IDE using the PHP language!

Installation
------------

[](#installation)

```
# create an extension application
composer create-project php-lsp/skeleton -s dev

# allow build script to run (required once)
chmod +x bin/build
```

Running Server
--------------

[](#running-server)

### Run From Sources

[](#run-from-sources)

```
php ./bin/lsp serve App\\Application --port=5007
```

### Run From Code

[](#run-from-code)

```
