php-school/terminal
php-school/terminal is a PHP library for building interactive terminal apps. It provides input/output helpers, ANSI styling, cursor control, and terminal state management, making it easy to create rich CLI UIs with prompts, menus, and formatted output.
Executives: "This lightweight library ensures our CLI tools deliver a polished, consistent experience across all operating systems—no more broken colors or misaligned layouts on Windows vs. Mac. It eliminates costly platform-specific bugs, reduces engineering time spent on low-level terminal handling, and directly improves user satisfaction for developers and internal teams using our CLI products."
Engineering: "It centralizes terminal detection logic into a single, battle-tested dependency—no more sprinkling isatty() checks or OS-specific hacks throughout the codebase. With a simple API for size, capabilities, and TTY detection, we ship faster while avoiding edge-case bugs. Minimal dependencies, zero runtime overhead, and proven stability since 2019 make it a low-risk, high-value addition for any PHP CLI project."
How can I help you explore Laravel packages today?