t3ide/language-server 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

t3ide/language-server

最新稳定版本:v1.0.0

Composer 安装命令:

composer require t3ide/language-server

包简介

Language Server Protocol runtime and infrastructure for PHP

README 文档

README

t3ide/language-server is a PHP library that provides JSON-RPC and Language Server Protocol runtime infrastructure.

It is designed as a reusable foundation for building and operating LSP servers in PHP.

What it provides

  • JSON-RPC 2.0 message parsing and serialization
  • stdio and socket server integration
  • request/notification dispatch pipeline with middleware
  • request and event dispatch strategies
  • client proxy APIs (window, workspace, diagnostics, work progress)
  • cancellation-aware request handling
  • server runtime stats helpers

Package layout

  • lib/JsonRpc/ - transport, request/response objects, client/server session handling
  • lib/Core/Dispatcher/ - method/event dispatch strategies
  • lib/Core/Middleware/ - request pipeline middleware
  • lib/Handler/ - built-in protocol handlers
  • tests/Integration/ - integration tests for pipeline, middleware, dispatcher, and handlers

Requirements

  • PHP 8.2+
  • t3ide/language-server-protocol

Installation

composer require t3ide/language-server

Development

Install dependencies:

composer install

Run tests:

./vendor/bin/phpunit

Run static analysis:

./vendor/bin/phpstan analyse -c phpstan.neon

Run coding standards check:

./vendor/bin/php-cs-fixer fix --config .php-cs-fixer.php --dry-run --diff

License

MIT. See LICENSE.md.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固