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 executionProcessExecutor- Concrete class for running CLI tools with PHP binary reuse capabilityProcessResult- DTO for process execution results (exitCode, output, errorOutput)
Configuration Detection (src/Config/)
ConfigurationDetectorInterface- Interface for config file detectionConfigurationDetector- Concrete class for detecting configuration files in project root
Message Truncation (src/Truncator/)
MessageTruncatorInterface- Interface for message truncationMessageTruncator- 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
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-08