php-tui / php-tui
Comprehensive TUI library heavily influenced by Ratatui
Installs: 210
Dependents: 1
Suggesters: 0
Security: 0
Stars: 265
Watchers: 9
Forks: 6
Open Issues: 11
Requires
- php: ^8.1
- php-tui/cassowary: ^0.1.0
- php-tui/term: ^0.3.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.34
- phpbench/phpbench: ^1.2
- phpstan/extension-installer: ^1.3
- phpstan/phpdoc-parser: ^1.24
- phpstan/phpstan: ^1.10
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.0
- phpstan/phpstan-strict-rules: ^1.5
- phpunit/phpunit: ^10.4
- rector/rector: ^0.18.10
- roave/better-reflection: ^6.15
- symfony/var-dumper: ^6.3
This package is auto-updated.
Last update: 2024-04-30 00:46:19 UTC
README
PHP TUI library heavily inspired by Rust TUI / Ratatui.
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!