{"repo":"ajaxray/AnsiKit","free":true,"listed":false,"github":"https://github.com/ajaxray/AnsiKit","clone":"git clone https://github.com/ajaxray/AnsiKit.git","description":"Tiny, Zero-dependency ANSI escape helper for building terminal UIs in PHP.","language":"PHP","stars":107,"topics":["cli-app","terminal","terminal-app","terminal-based","tui"],"license":"MIT","category":"cli-tools","readme_excerpt":"AnsiKit Tiny, easy-to-remember ANSI escape helper for building terminal UIs in PHP. Chainable API for styles/colors/cursor control, with a few handy components and utilities. Works on any terminal that supports ANSI escapes (most modern terminals on macOS/Linux and Windows Terminal/ConEmu on Windows 10+). Let's keep simple things simple. 😌 You don't need a whole framework to build a simple CLI app. Why Choose AnsiKit? Zero dependencies, PSR-12 with strict types, and a beautiful chainable API. Perfect for small CLI tools, deployment scripts, or any terminal-based app where you need style without the weight. Features 🎨 Text Styling - Standard 8/16 colors, 256-color palette, and truecolor (RGB, 24-bit) - Bold, dim, italic, underline, inverse, hidden, strike-through styles - Easy reset and chaining 📊 UI Components - Table - Beautiful tables with borders and alignment - Banner - Eye-catching banners for messages - Progressbar - Progress tracking with customizable styles - Spinner - Animated spinners for loading states - Choice - Interactive selection prompts - Panel - Flexible container layouts (vertical/horizontal) with borders and dividers - PanelBlock - Individual content blocks that can be nested or standalone ⌨️ Input & Interactivity - Input helpers - Line, multiline, and confirm prompts - Keypress detection - Listen for arrow keys, ENTER, ESC, TAB, modifiers, and more 🎯 Cursor Control - Move cursor to any position - Save/restore cursor state - Show/hide cursor - Alternat","default_branch":null,"files":null,"tree":[],"storefront":"/r/ajaxray","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ajaxray/AnsiKit/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}