Download the PHP package survos/tui-extras-bundle without Composer

On this page you can find all versions of the php package survos/tui-extras-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tui-extras-bundle

survos/tui-extras-bundle

Extra TUI widgets and data-source abstractions for symfony/tui — the terminal UI component shipping in Symfony 8.1.

Status: 0.1 — beta. Tracks symfony/tui ^8.1 which is itself experimental. Widgets are usable and the file browser works end-to-end. APIs may shift before 1.0.


What's in the box

Widgets

Widget What it does
DataTableWidget Paged, searchable, sortable data table. Live search, FTS5-aware.
TreeWidget Collapsible tree — / branches, ── leaves. Keyboard navigate.
DetailPanelWidget Read-only text/code pane with title and separator.

Data sources (TuiTableSourceInterface)

Source Backed by
ArrayTableSource Plain PHP array, in-memory filter/sort
SqliteTableSource PDO + SQLite with optional FTS5 full-text search
FileSource Symfony Finder — respects .gitignore by default

Syntax highlighting (SyntaxHighlighter)


Requirements


Installation

Register in your config/bundles.php (or let Flex do it):

HTTP-less apps (AbstractKernel + KernelTrait + ConsoleBundle, no FrameworkBundle): the bundle works without an HTTP kernel. See the demo/ directory for a minimal setup.


The file browser

The fastest way to see the bundle in action:

Keybindings:

Key Action
/ / j / k Navigate
Expand directory
Collapse (or jump to parent)
Enter / Space Toggle directory / preview file
q / ctrl+c Quit

Preview updates instantly as you navigate — no Enter required for files. PHP and JSON files are syntax-highlighted. Markdown files render with full formatting.


FTS5 full-text search demo

Type / then str_ to filter to all string functions instantly. Uses an in-memory SQLite database with an FTS5 virtual table — the same pattern FolioRowTableSource uses in survos/folio-bundle.


Building a split-pane browser


Building a DataTable with SQLite FTS5


TuiTableSourceInterface

Implement this to make any data source browsable:

Built-in implementations: ArrayTableSource, SqliteTableSource, FileSource. Adapters in other bundles: FolioRowTableSource (survos/folio-bundle), JsonlTableSource (survos/jsonl-bundle, planned).


Roadmap


License

MIT


All versions of tui-extras-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
league/commonmark Version ^2.0
survos/kit-bundle Version ^2.8
symfony/finder Version ^8.1
symfony/tui Version ^8.1
tempest/highlight Version ^2.0
symfony/console Version ^8.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package survos/tui-extras-bundle contains the following files

Loading the files please wait ...