comphp/console
Composer 安装命令:
composer require comphp/console
包简介
Console executive, command, and terminal tooling support for PHP applications.
README 文档
README
CommonPHP Console provides command-line execution support for CommonPHP applications. It defines the console executive, command structure, input/output handling, and terminal-oriented runtime integration.
The package is intended for CLI tools, maintenance commands, diagnostics, workers, and developer utilities that run through the CommonPHP runtime model.
Requirements
- PHP
^8.5 comphp/runtime:^0.3
Installation
Once this package is available through your Composer repositories, install it with:
composer require comphp/console
Usage
<?php // TODO: Write usage
Package Notes
This package should provide the console runtime mode, command discovery/registration, argument handling, output helpers, and command execution. Application bootstrapping remains in comphp/runtime.
Error Handling
Command failures should return non-zero exit statuses and should use package-specific exceptions for invalid command definitions, invalid arguments, and execution failures.
Documentation
License
MIT. See LICENSE.md.
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-17