gordon-fcl/housekeeping
最新稳定版本:v0.8.1
Composer 安装命令:
composer require gordon-fcl/housekeeping
包简介
A Laravel package to view and manage GitHub issues from the terminal.
README 文档
README
A Laravel package that brings GitHub issue management into the terminal, reducing context switching and keeping developers in flow.
Requirements
- PHP 8.2+
- Laravel 10 or 11
Installation
composer require gordon-fcl/housekeeping
The service provider is auto-discovered. No manual registration needed.
Configuration
Add your GitHub personal access token to .env:
GITHUB_TOKEN=ghp_your_token_here
The token needs repo scope to read issues and labels.
Optionally publish the config to customise the default label and base branch:
php artisan vendor:publish --tag=housekeeping-config
This creates config/housekeeping.php where you can set:
HOUSEKEEPING_LABEL- default issue label to filter by (default:housekeeping)HOUSEKEEPING_BASE_BRANCH- branch to create working branches from (default:staging)
Usage
php artisan housekeeping:list
This will:
- Fetch your GitHub repositories
- Prompt you to select one
- Fetch labels from that repository
- Prompt you to select a label (or pass
--tag=bugto skip) - Display matching issues in a table
Options
php artisan housekeeping:list --tag=bug
Skip the label selection prompt by passing a label directly.
Development
git clone https://github.com/gordon-fcl/housekeeping.git
cd housekeeping
composer install
Run the test suite:
composer test
Individual checks:
composer lint # Pint composer test:types # PHPStan composer test:unit # Pest composer refacto # Rector
Contributing
Please see CONTRIBUTING.md for details on the fork-and-PR workflow.
Licence
MIT. See LICENSE.md.
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-17