PHPackages                             tiran133/phpwebterm - 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. tiran133/phpwebterm

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

tiran133/phpwebterm
===================

Simple PHP Web Terminal for Server and Docker

0.1.1(1y ago)13MITPHPPHP ^8.0

Since Nov 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/tiran133/phpwebterm)[ Packagist](https://packagist.org/packages/tiran133/phpwebterm)[ Docs](https://github.com/tiran133/phpwebterm)[ RSS](/packages/tiran133-phpwebterm/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (7)Versions (3)Used By (0)

PHPWEBTERM
==========

[](#phpwebterm)

A simple php web terminal application with laravel support.

Install
-------

[](#install)

```
composer require tiran133/phpwebterm
```

Basic Usage
-----------

[](#basic-usage)

### PHP

[](#php)

```
require __DIR__.'/../vendor/autoload.php';

$config = [
    'port' => 8034,
    'listen' => '0.0.0.0',
    'scheme' => 'http',
    // SSL/TLS context
    'certificate' => [
        'local_cert' => 'server.crt',
        'local_pk' => 'server.key',
        'passphrase' => '',
    ],
];

//Create new websocket server
$websocketServe = new Server(new ServerConfig($config));

// Add route: Uses a simple approach to spawn the process.
$websocketServe->addRoute('/server-shell', ServerShellProcess::class);

//Startwebsocket server

$websocketServe->start();
```

### JS

[](#js)

```
import {TerminalManager} from '/../dist/TerminalManager.es.js';

// If the config is not supplied, it will read the config from ENV variable during vite build process
const config = {
    WEBSOCKET_SCHEME: 'http',
    WEBSOCKET_HOST: '127.0.0.1',
    WEBSOCKET_PORT: '8034',
}

// Instantiate and expose the manager
const terminalManager = new TerminalManager(config);

window.connectServerShell = terminalManager.newEndpoint('server-shell');

// Opens a shell to a server
window.connectServerShell({
    host: '',
    port: 22,
    username: 'dashboard',
    jump_proxy: '@:',
    ssh_key_path: ''
});
```

See `example` directory for more details.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

581d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/651050?v=4)[tiran133](/maintainers/tiran133)[@tiran133](https://github.com/tiran133)

### Embed Badge

![Health badge](/badges/tiran133-phpwebterm/health.svg)

```
[![Health](https://phpackages.com/badges/tiran133-phpwebterm/health.svg)](https://phpackages.com/packages/tiran133-phpwebterm)
```

###  Alternatives

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.1k](/packages/friendsofphp-php-cs-fixer)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[illuminate/events

The Illuminate Events package.

13557.0M2.1k](/packages/illuminate-events)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/session

The Illuminate Session package.

9939.3M847](/packages/illuminate-session)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
