gordon-fcl/housekeeping

A Laravel package to view and manage GitHub issues from the terminal.

Maintainers

Package info

github.com/gordon-fcl/housekeeping

pkg:composer/gordon-fcl/housekeeping

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 7

v0.8.1 2026-04-01 13:11 UTC

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:

  1. Fetch your GitHub repositories
  2. Prompt you to select one
  3. Fetch labels from that repository
  4. Prompt you to select a label (or pass --tag=bug to skip)
  5. 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.