PHPackages                             superpms/interpreter-terminal - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. superpms/interpreter-terminal

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

superpms/interpreter-terminal
=============================

pms terminal interpreter

v1.0.x-dev(1mo ago)01125Apache-2.0PHPPHP &gt;=8.2

Since May 21Pushed 1mo agoCompare

[ Source](https://github.com/superpms/interpreter-terminal)[ Packagist](https://packagist.org/packages/superpms/interpreter-terminal)[ RSS](/packages/superpms-interpreter-terminal/feed)WikiDiscussions v1.0 Synced today

READMEChangelogDependencies (1)Versions (1)Used By (5)

superpms/interpreter-terminal
=============================

[](#superpmsinterpreter-terminal)

`superpms/interpreter-terminal` is the PMS terminal interpreter package. It registers the `terminal` interpreter, provides the terminal command registry, builds the command sandbox, injects command input/output helpers, and exposes the base contracts used by terminal process extensions.

This is package-level developer documentation. It describes how to build or extend terminal interpreter capabilities, not any business command behavior.

Package Role
------------

[](#package-role)

- Composer package: `superpms/interpreter-terminal`
- PHP requirement: `>=8.2`
- Runtime dependency: `superpms/basic`
- Autoload entry: `bin/autoload.php`
- Interpreter name: `terminal`
- Built-in command: `vendor:install:hook`

The package is loaded through Composer `autoload.files`. `bin/autoload.php` loads terminal constants and then runs `bin/autorun.php`, which mounts:

- `pms\interpreter\terminal\Interpreter` into `pms\hook\InterpreterHook` as `terminal`
- `pms\program\vendorInstallHook\VendorInstallHookCommand` into `pms\hook\TerminalCommandHook`

Installation
------------

[](#installation)

```
composer require superpms/interpreter-terminal
```

The package publishes its default command config source through Composer metadata:

```
{
  "extra": {
    "pms": {
      "config": {
        "command": "resource/config.php"
      }
    }
  }
}
```

`resource/config.php` is intentionally empty in this package. It is a project config seed for terminal command mappings; the built-in `vendor:install:hook` command is registered by `bin/autorun.php`, not by that config file.

Minimal Command Example
-----------------------

[](#minimal-command-example)

```
