PHPackages                             zillur-web/laravel-web-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. [CLI &amp; Console](/categories/cli)
4. /
5. zillur-web/laravel-web-terminal

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

zillur-web/laravel-web-terminal
===============================

Secure web-based Laravel Artisan terminal for browser

v1.0.1(2mo ago)04MITPHPPHP ^8.0 &lt;=8.5

Since Mar 3Pushed 2mo agoCompare

[ Source](https://github.com/zillur-web/laravel-web-terminal)[ Packagist](https://packagist.org/packages/zillur-web/laravel-web-terminal)[ RSS](/packages/zillur-web-laravel-web-terminal/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Laravel Web Terminal
====================

[](#laravel-web-terminal)

A secure web-based Artisan terminal for Laravel applications.

Laravel Web Terminal allows you to run selected Artisan commands directly from your browser with proper security and command whitelisting.

---

✨ Features
----------

[](#-features)

- Run selected Artisan commands from browser
- Command whitelist protection
- Configurable route prefix
- Middleware protection (web + CSRF)
- Optional secret token for security (login-free access)
- Publishable configuration file and views
- Laravel auto-discovery support
- Compatible with Laravel 8 → 12
- Compatible with PHP 8.0 → 8.5

---

📦 Installation
--------------

[](#-installation)

Install via Composer:

```
composer require zillur-web/laravel-web-terminal
```

---

⚙️ Publish Configuration
------------------------

[](#️-publish-configuration)

```
php artisan vendor:publish --tag=web-terminal-config
```

Optional: Publish views

```
php artisan vendor:publish --tag=web-terminal-views
```

---

🚀 Usage
-------

[](#-usage)

Visit /terminal route to access the terminal.

Optional secret token is required for access (login-free)

Token can be passed via query string or header (X-WEB-TERMINAL-TOKEN)

Example: /terminal?token=laravel-web-terminal

Or in JavaScript headers:

```
headers: {
    "X-WEB-TERMINAL-TOKEN": "laravel-web-terminal"
}
```

---

🔐 Security
----------

[](#-security)

For security reasons, only commands listed in the configuration file are allowed.

Example config:

```
'allowed_commands' => [
    'migrate',
    'cache:clear',
    'config:clear',
    'route:clear',
    'queue:restart',
],
```

It is strongly recommended to use authentication middleware in production.

---

⚙️ Configuration
----------------

[](#️-configuration)

Config file: `config/web-terminal.php`

```
return [

    // Route prefix
    'prefix' => 'terminal',

    // Middleware
    'middleware' => ['web'],

    // Allowed artisan commands
    'allowed_commands' => [
        'migrate',
        'cache:clear',
        'config:clear',
        'route:clear',
        'queue:restart',
    ],

    // Optional secret token for security (login-free access)
    'access_token' => env('WEB_TERMINAL_TOKEN', 'laravel-web-terminal'),

];
```

---

🖥 Requirements
--------------

[](#-requirements)

- PHP 8.0 → 8.5
- Laravel 8 → 12

---

🤝 Contributing
--------------

[](#-contributing)

Contributions are welcome. Feel free to submit a pull request.

---

📄 License
---------

[](#-license)

This package is open-sourced software licensed under the MIT license.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance86

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

71d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d9d5e035f0fcc823b6f99a9a046dfa609b3a598870c5f45432f52a2390d81f5e?d=identicon)[zillur-web](/maintainers/zillur-web)

---

Top Contributors

[![zillur-web](https://avatars.githubusercontent.com/u/76123185?v=4)](https://github.com/zillur-web "zillur-web (6 commits)")

### Embed Badge

![Health badge](/badges/zillur-web-laravel-web-terminal/health.svg)

```
[![Health](https://phpackages.com/badges/zillur-web-laravel-web-terminal/health.svg)](https://phpackages.com/packages/zillur-web-laravel-web-terminal)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[bestmomo/nice-artisan

Web interface for Laravel Artisan

215149.3k](/packages/bestmomo-nice-artisan)[statamic/cli

Statamic CLI Tool

7587.7k](/packages/statamic-cli)[mwguerra/web-terminal

A web-based terminal component for Filament/Laravel with command whitelisting and multiple connection types

251.1k](/packages/mwguerra-web-terminal)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

171.9k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

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