matesofmate/common 问题修复 & 功能扩展

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

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

matesofmate/common

Composer 安装命令:

composer require matesofmate/common

包简介

Common functionality shared across MatesOfMate extensions

README 文档

README

Shared functionality for MatesOfMate extensions.

Components

Process Execution (src/Process/)

  • ProcessExecutorInterface - Interface for process execution
  • ProcessExecutor - Concrete class for running CLI tools with PHP binary reuse capability
  • ProcessResult - DTO for process execution results (exitCode, output, errorOutput)

Configuration Detection (src/Config/)

  • ConfigurationDetectorInterface - Interface for config file detection
  • ConfigurationDetector - Concrete class for detecting configuration files in project root

Message Truncation (src/Truncator/)

  • MessageTruncatorInterface - Interface for message truncation
  • MessageTruncator - Concrete class for token-efficient output with prefix removal and class name shortening

Development

# Install dependencies
composer install

# Run tests
composer test

# Check code quality
composer lint

# Fix code style
composer fix

License

MIT

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固