astamiir/laravel-web-terminal
最新稳定版本:1.0.1
Composer 安装命令:
composer require astamiir/laravel-web-terminal
包简介
A web-based terminal for Laravel applications, allowing to run Artisan commands directly from your browser.
README 文档
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.
统计信息
- 总下载量: 10
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-10