Skip to content

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!

About

Make awesome console applications in PHP (port of Rust's Ratatui)

Topics

Resources

Stars

605 stars

Watchers

16 watching

Forks

Releases

Packages

Used by

Contributors

Languages