Add it in Tori
- Open Settings with the gear in the title bar.
- Go to LSP.
- PHP (Intelephense) is already there: it ships inside Tori. When the catalog has a newer version, Add a language lists it with Update.
Adding writes one file and runs nothing. Installing intelephense from npm is a separate click on the same row.
Use it without the catalog
Download the file and drop it in the folder below. Tori loads it the next time it starts.
Download file php.toml
~/.config/tori/packs/lsp/
The file
php.tomlRead only
1# PHP via Intelephense (the free tier). See LSP-SERVERS.md.23schema_version = 14id = "php"5label = "PHP (Intelephense)"6description = "PHP, through Intelephense"7license = "Apache-2.0"8contributor = { name = "Tori", github = "gettori" }9verified_against = "intelephense 1.18.5"10verified_on = "2026-10-09"11root_markers = ["composer.json", ".git"]1213# Static analysis only.14runs_project_code = false1516[languages]17php = "php"1819[launch]20kind = "managed"21runtime = "node"22program = "intelephense"23args = ["--stdio"]2425[install]26kind = "npm"27package = "intelephense"28version = "1.18.5"