php.md
1# PHP
2
3PHP support is available through the [PHP extension](https://github.com/zed-industries/zed/tree/main/extensions/php).
4
5## Choosing a language server
6
7The PHP extension offers both `phpactor` and `intelephense` language server support.
8
9`phpactor` is enabled by default.
10
11To switch to `intelephense`, add the following to your `settings.json`:
12
13```json
14{
15 "languages": {
16 "PHP": {
17 "language_servers": ["intelephense", "!phpactor", "..."]
18 }
19 }
20}
21```