# php-school/cli-menu

🖥  Build beautiful PHP CLI menus. Simple yet Powerful. Expressive DSL.

Repository: https://github.com/php-school/cli-menu
Canonical: https://ross.abutalabs.com/products/cli-menu
Homepage: http://www.phpschool.io
Language: PHP
License: MIT
License Family: permissive
Topics: cli, menu, cli-menu, terminal
Last push: 2025-08-11T15:17:33+00:00

## Health v2 (maintenance only)
Score: 39/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 36, release rhythm 8, longevity 100
- inputs: {"age_days": 3971, "days_push": 387, "days_rel": 400, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1943, forks 105 (observed 2026-08-28T04:05:57.547523+00:00)

## What it is
A PHP library for building interactive terminal menus with an expressive DSL. It supports selectable items, checkboxes, radio buttons, submenus, ASCII art, dialogues, text/number/password inputs, and custom keyboard shortcuts.

## Use cases
- build interactive cli menus in php
- create terminal prompts with text and password input
- add checkbox and radio selection to a console app
- build nested submenus for a command line tool
- show confirm dialogs in a php cli script
- customize keyboard shortcuts for terminal menus

## When to choose
- you are writing a PHP command-line application that needs interactive menus or input prompts
- you want styled terminal UI with colors, borders, padding, and ASCII art
- you need cross-platform terminal menus on Linux, macOS, and Windows

## When to avoid
- your project is not written in PHP
- you need a full TUI framework with windows and panels rather than menus
- you are building a web or GUI application

## Facets
- artifact type: library
- maturity: active
- function: terminal-ui, cli, ui-components
- domain: developer-tools, cross-platform
- platform: php, cli, windows, cross-platform
- tags: interactive-menu, console-ui, php-library, keyboard-navigation, dialogues, composer, command-line, linux, macos

## Member repositories
- php-school/cli-menu (main) score 39

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:57.547523+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:08:02.653492+00:00, confidence not recorded.
  - readme: https://github.com/php-school/cli-menu (fetched 2026-08-28T04:05:57.547523+00:00, sha 539bc2a50867)
  - homepage: http://www.phpschool.io (fetched 2026-08-29T10:47:07.999472+00:00, sha 7c3c1b59312f)
  - site_page: https://www.phpschool.io/install (fetched 2026-08-29T10:47:08.008698+00:00, sha 432ad4e052f8)
  - site_page: https://www.phpschool.io/docs (fetched 2026-08-29T10:47:08.010443+00:00, sha 62b4afd591d4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
