PHPackages                             helgesverre/turbovision - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. helgesverre/turbovision

ActiveLibrary[CLI &amp; Console](/categories/cli)

helgesverre/turbovision
=======================

A modern PHP 8.5 port of Borland's Turbo Vision text-mode UI framework.

v0.2.0(today)05↑2900%MITPHPPHP &gt;=8.5CI passing

Since Aug 24Pushed todayCompare

[ Source](https://github.com/HelgeSverre/tvision-php)[ Packagist](https://packagist.org/packages/helgesverre/turbovision)[ RSS](/packages/helgesverre-turbovision/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

TurboVision for PHP
===================

[](#turbovision-for-php)

**Build rich, mouse-friendly terminal applications with the soul of Borland's Turbo Vision and the ergonomics of modern PHP.**

TurboVision for PHP is a pure-PHP text-mode UI framework with a real view tree, double-buffered ANSI rendering, keyboard and mouse events, movable windows, menus, scrolling, responsive layouts, and a headless renderer for tests and screenshots.

```
 File  Edit  Window  Help
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░╭─── 1 ─── Turbo Workbench ───────────────────────────────────────────────╮░░░
░░│                                                                         │▒░░
░░│           ╔══════════════════════════════════════════════════╗          │▒░░
░░│           ║                                                  ║          │▒░░
░░│           ║           _____ _   _ ___ ___  ___               ║          │▒░░
░░│           ║          |_   _| | | | _ \ _ )/ _ \              ║          │▒░░
░░│           ║            | | | |_| |   / _ \ (_) |             ║          │▒░░
░░│           ║            |_|  \___/|_|_\___/\___/              ║          │▒░░
░░│           ║                                                  ║          │▒░░
░░│           ║       T U R B O V I S I O N  / /  P H P          ║          │▒░░
░░│           ║                                                  ║          │▒░░
░░│           ║     Classic interfaces. Modern internals.        ║          │▒░░
░░│           ║                                                  ║          │▒░░
░░│           ║                     [ Enter ]                    ║          │▒░░
░░│           ║                                                  ║          │▒░░
░░│           ╚══════════════════════════════════════════════════╝          │▒░░
░░│                                                                         │▒░░
░░╰─────────────────────────────────────────────────────────────────────────╯▒░░
░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░
 F1 Help   F3 Open   F4 New   F5 Zoom   F6 Next              Alt-X Exit

```

The mock screen above is plain Unicode. In a real terminal the framework adds the classic palette, focus state, shadows, incremental repainting, and live interaction.

Small classes, complete applications
------------------------------------

[](#small-classes-complete-applications)

A TurboVision application is ordinary typed PHP. Compose views, override the parts you need, and let the framework own terminal setup, layout, repainting, input, and cleanup:

```
