Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Language Server Protocol Laravel Package

felixfbecker/language-server-protocol

PHP classes and data structures for the Microsoft Language Server Protocol (LSP). Use it to build language servers/clients in PHP with typed protocol messages and capabilities. Install via Composer: felixfbecker/language-server-protocol.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables building custom PHP language servers for IDE integrations (e.g., VS Code extensions) to deliver features like code completion, diagnostics, and refactoring tools without reinventing protocol-level logic.
  • Reduces build-vs-buy tradeoffs by providing standardized LSP protocol classes, eliminating manual JSON handling and spec compliance risks.
  • Accelerates roadmap delivery for developer tooling initiatives by leveraging existing LSP ecosystem compatibility, allowing teams to focus on business logic rather than low-level message parsing.

When to Consider This Package

  • Adopt when building a PHP-based LSP server/client that requires strict protocol model classes (e.g., for custom IDE extensions, static analysis tools, or internal developer tooling).
  • Avoid if you need a full-featured language server implementation (transport layer, request routing, or runtime logic) — consider packages like php-language-server instead.
  • Check version compatibility with your target LSP features (e.g., v1.5.0 supports PHP 8.0 and goto type), as the package may lag behind the latest LSP spec updates for niche features.

How to Pitch It (Stakeholders)

  • Executives: "This package lets us build PHP language server integrations for VS Code and other IDEs 60-80% faster than custom implementation, directly supporting our developer tooling roadmap. It leverages industry-standard LSP to ensure compatibility with existing ecosystems while focusing engineering effort on high-value features that drive developer adoption."
  • Engineering: "It provides strictly typed, spec-compliant PHP classes for all LSP messages, eliminating manual JSON handling errors. With composer require and minimal setup, it integrates seamlessly into existing PHP projects and works with any transport layer (stdio, HTTP, etc.). Active maintenance and versioned releases ensure reliability for production use without bloating our codebase."
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport