mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:50:03 +08:00
45 lines
1008 B
Markdown
45 lines
1008 B
Markdown
---
|
|
title: "SpaceVim lang#php layer"
|
|
description: "This layer adds PHP language support to SpaceVim"
|
|
---
|
|
|
|
# [Available Layers](../../) >> lang#php
|
|
|
|
<!-- vim-markdown-toc GFM -->
|
|
|
|
- [Description](#description)
|
|
- [Features](#features)
|
|
- [Install](#install)
|
|
- [Requirement](#requirement)
|
|
|
|
<!-- vim-markdown-toc -->
|
|
|
|
## Description
|
|
|
|
This layer adds PHP language support to SpaceVim.
|
|
|
|
## Features
|
|
|
|
- auto-completion
|
|
- syntax checking
|
|
- goto definition
|
|
- refernce finder
|
|
- lsp support (require [lsp](https://spacevim.org/layers/language-server-protocol/) layer)
|
|
|
|
## Install
|
|
|
|
To use this configuration layer, update custom configuration file with:
|
|
|
|
```toml
|
|
[[layers]]
|
|
name = "lang#php"
|
|
```
|
|
|
|
### Requirement
|
|
|
|
1. [PHP 5.3+](http://php.net/)
|
|
2. [PCNTL](http://php.net/manual/en/book.pcntl.php) Extension
|
|
3. [Msgpack 0.5.7+(for NeoVim)](https://github.com/msgpack/msgpack-php) Extension or [JSON(for Vim 7.4+)](http://php.net/manual/en/intro.json.php) Extension
|
|
4. [Composer](https://getcomposer.org/) Project
|
|
|