marko / lsp
Language Server Protocol implementation for Marko Framework semantics
0.8.0
2026-05-29 13:45 UTC
Requires
- php: ^8.5
- marko/cli: 0.8.0
- marko/codeindexer: 0.8.0
- marko/core: 0.8.0
Requires (Dev)
- pestphp/pest: ^4.0
This package is auto-updated.
Last update: 2026-06-03 14:28:37 UTC
README
Language Server Protocol implementation for Marko — powers editor completions, diagnostics, go-to-definition, and hover for Marko-specific semantics.
Installation
composer require marko/lsp
Quick Example
marko lsp:serve
Configure your editor (example for Neovim with nvim-lspconfig):
require('lspconfig').marko.setup({ cmd = { 'marko', 'lsp:serve' }, })
Documentation
Supported textDocument/* methods, feature coverage, and editor setup: marko/lsp