Skip to content

GreenCape/php-tui

 
 

Repository files navigation

PHP TUI

CI

PHP TUI Logo

PHP TUI library heavily inspired by Rust TUI / Ratatui.

Demo

Features

  • Most widgets and shapes from Ratatui.
  • Advanced terminal control heavily inspired by Rust's crossterm library.
  • Font and image rendering
  • Layout control using the Cassowary algorithm via. php-tui cassowary
  • Lots more

Installation

Require in your project with composer:

composer require php-tui/php-tui

Documentation

Read the documentation here.

Demo

Checkout the project and run:

./example/demo/bin/demo

Limitations

  • Windows support: shouldn't be hard to implement, but I don't have windows so...

Contributions

Contributions are welcome!

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.8%
  • Nix 0.2%