百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
L

laravel-terminal

> 后端框架
开源

在 Web 应用程序中运行 artisan 命令

881 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

在 Web 应用程序中运行 artisan 命令

Laravel Terminal

Installation

bash
composer require recca0120/terminal --dev

OR

Add Presenter to your composer.json file:

javascript
"require-dev": {
    "recca0120/terminal": "^1.6.8"
}

Now, run a composer update on the command line from the root of your project:

composer update

Registering the Package

Include the service provider within app/config/app.php. The service povider is needed for the generator artisan command.

php
'providers' => [
    ...
    Recca0120\Terminal\TerminalServiceProvider::class,
    ...
];

publish

php
artisan vendor:publish --provider="Recca0120\Terminal\TerminalServiceProvider"

URL

http://localhost/path/to/terminal

config

…

Available Commands

  • artisan
  • artisan tinker
  • find
  • mysql
  • tail
  • vi

Find

not full support, but you can delete file use this function (please check file permission)

bash
find ./vendor -name tests -type d -maxdepth 4 -delete

Add Your Command

Add Command Class

…

ScreenShot

Available Commands

bash
$ help

Artisan List

bash
$ artisan

Migrate

bash
$ artisan migrate --seed

Artisan Tinker

bash
$ artisan tinker

MySQL

bash
$ mysql
mysql> select * from users;

# change connection
mysql> use sqlite;
mysql> select * from users;

Find Command

bash
$ find ./ -name * -maxdepth 1

Find and Delete

bash
$ find ./storage/logs -name * -maxdepth 1 -delete

Vi

bash
$ vi server.php

Tail

bash
$ tail
$ tail --line=1
$ tail server.php
$ tail server.php --line 5

Cleanup

bash
$ cleanup

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHPartisanlaravelterminalweb

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类后端框架
定价开源

> 相关工具

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架