PHP language server extension for coc.nvim.
In your vim/neovim, run command:
:CocInstall coc-phpls
Language server features provided by intelephense-docs.
add licence key to your coc-settings.json file
e.g:
{
"intelephense.licenceKey": "your licence key",
}
phpls.path: Path to intelephense module, you can use a custom version of intelephense by modifying this setting to include the full path. e.g./path/to/node_modules/intelephense. default:""phpls.enable: Set tofalseto disable php language server. default:true
- Run yarn build or yarn build:watch
- Link extension
cd ~/github/coc-phpls && yarn link
cd ~/.config/coc/extensions && yarn link coc-phpls- Add "coc-phpls": "*" to dependencies in ~/.config/coc/extensions/package.json
coc-phpls had been being developed with JetBrains IDE under the free JetBrains Open Source license(s) granted by JetBrains s.r.o., hence I would like to express my thanks here.
NodeSupport Sponsored this project
MIT

