ghostwriter/github-cli 问题修复 & 功能扩展

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

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

ghostwriter/github-cli

最新稳定版本:0.1.0

Composer 安装命令:

composer require ghostwriter/github-cli

包简介

PHP wrapper for GitHub CLI (gh)

README 文档

README

GitHub Sponsors Automation Supported PHP Version Downloads

PHP wrapper for GitHub CLI (gh).

Installation

You can install the package via composer:

composer require ghostwriter/github-cli

Star ⭐️ this repo if you find it useful

You can also star (????) this repo to find it easier later.

Usage

Every method accepts variadic string ...$arguments

This means:

  • Arguments are passed exactly like the CLI
  • No escaping issues

Example:

gh issue create --title "Bug" --body "Something broke"

Becomes:

$gh = \Ghostwriter\GitHubCli\GitHubCli::new();

$result = $gh->issueCreate('--title', 'Bug', '--body', 'Something broke');

$result->exitCode(); // int
$result->stdout();   // string
$result->stderr();   // string

Documentation

Please see docs/ for more information on how to use this package.

Credits

Changelog

Please see CHANGELOG.md for more information on what has changed recently.

License

Please see LICENSE for more information on the license that applies to this project.

Security

Please see SECURITY.md for more information on security disclosure process.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-4-Clause
  • 更新时间: 2026-01-04