lumide_php library

Lumide PHP Plugin.

Classes

ComposerManifest
Represents metadata extracted from composer.json.
ComposerService
LogService
PhpDevServerService
PhpDiagnosticsService
Reports problems in the editor and Problems panel when PHP files are opened or saved.
PhpFormatterService
PhpLaunchService
PhpLspInstaller
Installs servers only in response to an explicit user command.
PhpLspResolver
PhpLspServer
A discovered executable, independent of Lumide's running/disabled state.
PhpLspService
PhpServerConfig
Settings for launching php -S <host>:<port> -t <docRoot>.
PhpService
PhpStatusBarService
PhpTestRunnerService

Enums

LspServerType
Represents the supported PHP Language Server implementations.

Constants

cmdComposerDumpAutoload → const String
cmdComposerInstall → const String
cmdComposerRequirePackage → const String
cmdComposerRunScript → const String
cmdComposerUpdate → const String
cmdComposerValidate → const String
cmdPhpFormatFile → const String
cmdPhpInstallIntelephense → const String
cmdPhpInstallPhpactor → const String
cmdPhpLintFile → const String
cmdPhpNewFile → const String
cmdPhpRestartLsp → const String
cmdPhpRunFile → const String
cmdPhpSelectLsp → const String
cmdPhpServerOpenBrowser → const String
cmdPhpServerRestart → const String
cmdPhpServerStart → const String
cmdPhpServerStop → const String
cmdPhpStop → const String
cmdPhpTestRunActiveFile → const String
cmdPhpTestRunAll → const String
cmdPhpToolsMenu → const String
configComposerPath → const String
configDevServerDocRoot → const String
configDevServerHost → const String
configDevServerPort → const String
configFormatter → const String
configIntelephenseLicence → const String
configLintOnSave → const String
configLspPath → const String
configLspServer → const String
configPhpExecutable → const String
configPhpstanEnabled → const String
defaultIntelephenseCommand → const String
defaultPhpactorCommand → const String
defaultPhpLanguageServerCommand → const String
diagnosticsPhpLint → const String
diagnosticsPhpstan → const String
folderAssets → const String
formattingProviderId → const String
iconCode → const String
iconDownload → const String
iconFileCode → const String
iconFormat → const String
iconGlobe → const String
iconLint → const String
iconPackage → const String
iconPackageCheck → const String
iconPackagePlus → const String
iconPlay → const String
iconRefresh → const String
iconSquare → const String
iconSwitch → const String
iconTerminal → const String
iconTest → const String
launchConfigDevServer → const String
launchConfigRunActiveFile → const String
launchConfigTestActive → const String
launchConfigTestAll → const String
launchProviderPhp → const String
logPrefix → const String
lspProviderIdCustom → const String
lspProviderIdIntelephense → const String
lspProviderIdPhpactor → const String
lspProviderIdPhpLanguageServer → const String
phpFileExtensions → const List<String>
phpLanguageId → const String
phpstanConfigFiles → const List<String>
pluginId → const String
pluginName → const String
statusBarPhpId → const String
statusBarServerId → const String

Functions

normalizeFilePath(String raw) → String
Normalizes a file URI or raw path string to a native filesystem path.
parsePhpLintOutput(String output, {String text = ''}) → List<LumideDiagnostic>
Parses php -l output. text is the linted source, used to underline the whole line.
parsePhpstanOutput(String output, String filePath, {String text = ''}) → List<LumideDiagnostic>
Parses phpstan analyse --error-format=json output for filePath.

Typedefs

LogFunction = void Function(String message)