cli-menu
Library for building interactive menus in PHP command-line scripts
cli-menu is a PHP library for building interactive menus that run in the terminal. Developers use it to give command-line scripts a selectable menu instead of asking for typed input. It is aimed at PHP programmers who write console tools and want a menu system without building one from scratch.
The library provides a small domain-specific syntax for defining menus and their items. It is released under the MIT license and its source code is public on GitHub. The project is maintained under the php-school organisation and has a website with further information.
Alternatives to cli-menu
Products that do a similar job in Developer Tools.
Windows Terminal
Command-line terminal app and console host for Windows
fzf
Command-line fuzzy finder for lists of files, history and any text
lazygit
Terminal UI for running git commands with keyboard shortcuts
ripgrep
command-line search tool that finds regex matches across directory trees
Alacritty
GPU-accelerated terminal emulator for Linux, macOS, Windows and BSD
bat
command-line file viewer with syntax highlighting and git integration
GitHub CLI
Command line tool for working with GitHub from the terminal
kitty
GPU-rendered terminal emulator that runs on several platforms