https://github.com/firehed/lsphp
PHP Language Server adapter
https://github.com/firehed/lsphp
Last synced: 12 months ago
JSON representation
PHP Language Server adapter
- Host: GitHub
- URL: https://github.com/firehed/lsphp
- Owner: Firehed
- Created: 2018-03-25T19:50:28.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-07T03:04:49.000Z (about 8 years ago)
- Last Synced: 2025-04-07T20:53:56.918Z (about 1 year ago)
- Language: PHP
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHP Language Server Protocol adapter
_Under development, not yet stable!_
This aims to be a bridge between various PHP analysis tools and the Language Server Protocol.
It does _not_ aim to directly provide code analysis.
## Installation
(This won't work yet)
`composer require --dev firehed/lsphp`
### Requirements
PHP 7.1 is required to run the language server (e.g. on your local machine).
The codebase using the project doesn't have any specific version requirements, but may be subject to requirements enforced by the tools the language server runs.
Since this should only ever be installed as a `--dev` requirement, there should be no impact to production requirements.
## Usage
Usage varies heavily on your editor.
Generally speaking, you will need to register `vendor/bin/lsphp` as a binary to start a Language Server.
## Compatible tools
* `php -l`
### Coming Soon
* PHP_CodeSniffer