█████
████████████████████
█████████████████████████
█████ ███████████████████████
█████████████████████████████████
█████████████████████████████ ██
███ ████████████████████████
███ ███████████████████████
███ ███████████████████████
███ ████ ████ ████ ██████
PHP TUI library heavily inspired by Rust TUI / Ratatui.
- Many core features from Ratatui.
- Advanced terminal control heavily inspired by Rust's crossterm library.
- Font rendering
- Layout control using the Cassowary algorithm via. php-tui cassowary
Read the documentation here.
Checkout the project and run:
./example/demo/bin/demo
Page from the PHP-TUI demo showing a scaled, scrolling text on a canvas with elephants on a starfield (framerate reduced for GIF)
Image rendering via. image magick
Colors demo
- Canvas
- Chart
- Block
- Paragraph
- List
- Table
- Tabs
- Calendar
- Barchart
- Scrollbar
- Sparkline
- Gauge
- Windows support: shouldn't be hard to implement, but I don't have windows so...
- Grapheme support
- Cursor positioning after after draw (removed "frame" concept)
- Change modifiers to use bitmask
- Layout SegmentSize
- Chart legend