astamiir/laravel-web-terminal

A web-based terminal for Laravel applications, allowing to run Artisan commands directly from your browser.

Maintainers

Package info

github.com/Astamiir/laravel-web-terminal

pkg:composer/astamiir/laravel-web-terminal

Statistics

Installs: 9

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.1 2026-01-10 21:59 UTC

This package is auto-updated.

Last update: 2026-04-10 22:28:13 UTC


README

A web-based terminal for Laravel applications, allowing you to run Artisan commands directly from your browser. Perfect for development and debugging purposes.

Disclaimer: Use with caution and avoid using in production environments without proper security measures.

Init package

composer require astamiir/laravel-web-terminal

Publish the assets and configuration

php artisan vendor:publish --tag=laravel-web-terminal-assets
php artisan vendor:publish --tag=laravel-web-terminal-config

Usage

To access the web terminal, navigate to /web-terminal in your Laravel application and you will see a terminal interface where you can run Artisan commands.

Configuration

Make sure that you have enabled terminal in the .env file:

WEB_TERMINAL_ENABLED=true

Also you can specify allowed commands:

WEB_TERMINAL_ALLOWED_COMMANDS=migrate, db:seed, cache:clear

And specify allowed environments:

WEB_TERMINAL_ENVIRONMENTS=local,staging

Leave it empty to allow all commands.

You can customize the terminal settings in the config/laravel-web-terminal.php file.