Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

laravel-terminal

> 后端框架
Open source

Runs artisan command in web application

881 stars0 likes0 views
WebsiteGitHub

About

Runs artisan command in web application

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 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPartisanlaravelterminalweb

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

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