docs/build/cli/pkg/search/index.md
Snider 85bbb8e828 docs: initial import of CorePHP documentation
173 markdown files covering:
- Framework architecture (lifecycle events, module system, multi-tenancy)
- Package docs (admin, api, mcp, tenant, commerce, content, developer)
- CLI reference (dev, build, go, php, deploy commands)
- Patterns (actions, repositories, seeders, services, HLCRF)
- Deployment (Docker, PHP, LinuxKit, templates)
- Publishing (Homebrew, AUR, npm, Docker, Scoop, Chocolatey)

Source: core-php/docs (core.help content)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-03 17:51:03 +00:00

1.4 KiB

core pkg search

Search GitHub for repositories matching a pattern.

Uses gh CLI for authenticated search. Results are cached for 1 hour.

Usage

core pkg search [flags]

Flags

Flag Description
--pattern Repo name pattern (* for wildcard)
--org GitHub organization (default: host-uk)
--type Filter by type in name (mod, services, plug, website)
--limit Max results (default: 50)
--refresh Bypass cache and fetch fresh data

Examples

# List all host-uk repos
core pkg search

# Search for core-* repos
core pkg search --pattern "core-*"

# Search different org
core pkg search --org mycompany

# Filter by type
core pkg search --type services

# Bypass cache
core pkg search --refresh

# Combine filters
core pkg search --pattern "core-*" --type mod --limit 20

Output

Found 5 repositories:

  host-uk/core
    Go CLI for the host-uk ecosystem
    ★ 42  Go  Updated 2 hours ago

  host-uk/core-php
    PHP/Laravel packages for Core
    ★ 18  PHP  Updated 1 day ago

  host-uk/core-images
    Docker and LinuxKit images
    ★ 8  Dockerfile  Updated 3 days ago

Authentication

Uses GitHub CLI (gh) authentication. Ensure you're logged in:

gh auth status
gh auth login  # if not authenticated

See Also