Download the PHP package cli/terminal without Composer

On this page you can find all versions of the php package cli/terminal. 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 terminal

Commander - MC-Style PHP Console Application

Component-based Midnight Commander-style terminal application framework.
Create fullscreen, keyboard-driven interfaces with double-buffered rendering.


Why Commander?

Build terminal UIs like you build web apps - with reusable components, clean architecture, and modern PHP.

No complex setup. No learning curve. Just beautiful terminal UIs.


Features


Requirements


Quick Start

1. Installation

2. Create Launch Script

Create a PHP file (e.g., console) that launches the Commander interface:

3. Make It Executable and Launch

That's it! You now have a fullscreen terminal UI with:


Available Themes

Commander comes with three built-in themes:

Midnight Commander (Default)

Classic blue theme with cyan highlights - just like the original Midnight Commander.

Dark Theme

Modern dark theme with black background and green/cyan accents.

Light Theme

Light theme with white background - perfect for well-lit environments.

Tip: Call ColorScheme::applyTheme() before building your Application.


Built-in Modules

Commander includes four ready-to-use modules:

1. File Browser Module

Navigate and browse the filesystem with a two-panel layout.

Features:

Keyboard: F1 menu | ↑↓ navigate | Enter open | Tab switch panels | Ctrl+E view file

Full Documentation

2. Command Browser Module

Browse and execute all registered Symfony Console commands.

Features:

Keyboard: F2 menu | ↑↓ navigate | Tab switch panels | Ctrl+E execute

Full Documentation

3. Composer Manager Module

Manage Composer packages with tabbed interface.

Features:

Tabs: Scripts | Installed | Outdated | Security

Keyboard: F3 menu | Ctrl+←/→ switch tabs | ↑↓ navigate

Full Documentation

4. Git Module

Browse and manage Git repositories.

Features:

Tabs: Status | Branches | Tags

Keyboard: F4 menu | Ctrl+←/→ switch tabs | Ctrl+G global shortcut

Full Documentation


Module SDK

Create your own modules using the Module SDK. See the Module SDK Developer Guide for complete documentation.

Quick Example

Using Custom Modules


Available Components

Commander provides rich set of UI components:

Display Components

Input Components

Layout Components


Architecture Overview

Project Structure

Key Concepts

  1. Modules - Self-contained features (File Browser, Git, etc.)
  2. Screens - Full-screen views (like pages in a web app)
  3. Components - Reusable UI elements (tables, forms, panels)
  4. Double Buffering - Prevents flickering by rendering off-screen first
  5. Theme System - Customizable color schemes

Documentation


Use Cases

Commander is perfect for:


Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


License

MIT License. See LICENSE file for details.


Acknowledgments

Inspired by Midnight Commander - the legendary file manager.


All versions of terminal with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
symfony/console Version ^7.3
symfony/finder Version ^7.3
symfony/process Version ^7.3
composer/composer Version ^2.0
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 cli/terminal contains the following files

Loading the files please wait ...