New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

recca0120/terminal

run laravel artisan command in web application
427,159 876

Larablocks Analysis

recca0120/terminal works with Laravel 5 to 11 (latest release v1.12.2, Jun 21, 2024), all past end of life (the last on Mar 12, 2026): no more fixes, even for security.

Recommendation checks

Use with care

Use with care: meets 1 of 4 checks.

  • Supports only Laravel 5 to 11, past end of life since Mar 12, 2026
  • No release in the last 12 months (last: Jun 21, 2024)
  • 1,441 downloads a month (needs 10,000)
  • 876 GitHub stars (at least 100)

State

Quiet
  • Last stable release: Jun 21, 2024.
  • No releases in the last 12 months.
  • First released: Jan 1, 2016.
  • Monthly downloads: 1,441, down 20% from six months ago.
  • 20 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 4, 2026.

Install
composer require recca0120/terminal
Latest Version:v1.12.2
PHP:>=5.5.9
Laravel:5 – 11
License:MIT
Last Updated:Mar 17, 2025
Links: GitHub  ·  Packagist
Maintainer: recca0120

Donate

Laravel Terminal

StyleCI Build Status Total Downloads Latest Stable Version Latest Unstable Version License Monthly Downloads Daily Downloads Scrutinizer Code Quality Code Coverage

Installation

composer require recca0120/terminal --dev

OR

Add Presenter to your composer.json file:

"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.

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

publish

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

URL

http://localhost/path/to/terminal

config

return [
    'enabled'    => env('APP_DEBUG'),
    'whitelists' => ['127.0.0.1', 'your ip'],
    'route'     => [
        'prefix'     => 'terminal',
        'as'         => 'terminal.',
        // if you use laravel 5.1, remember to remove web middleware
        'middleware' => ['web'],
        // if you need auth, you need use web and auth middleware
        // 'middleware' => ['web', 'auth']
    ],
    'commands' => [
        \Recca0120\Terminal\Console\Commands\Artisan::class,
        \Recca0120\Terminal\Console\Commands\ArtisanTinker::class,
        \Recca0120\Terminal\Console\Commands\Cleanup::class,
        \Recca0120\Terminal\Console\Commands\Find::class,
        \Recca0120\Terminal\Console\Commands\Mysql::class,
        \Recca0120\Terminal\Console\Commands\Tail::class,
        \Recca0120\Terminal\Console\Commands\Vi::class,
        // add your command
    ],
];

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)

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

Add Your Command

Add Command Class

// src/Console/Commands/Mysql.php

namespace Recca0120\Terminal\Console\Commands;

use Illuminate\Console\Command;
use Illuminate\Foundation\Inspiring;
use Recca0120\Terminal\Contracts\TerminalCommand;

class Inspire extends Command implements TerminalCommand
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'inspire';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Display an inspiring quote';

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
        $this->comment(PHP_EOL.Inspiring::quote().PHP_EOL);
    }
}

ScreenShot

Available Commands

$ help

Available Commands

Artisan List

$ artisan

Artisan List

Migrate

$ artisan migrate --seed

Migrate

Artisan Tinker

$ artisan tinker

Tinker

MySQL

$ mysql
mysql> select * from users;

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

MySQL Command

Find Command

$ find ./ -name * -maxdepth 1

Find Command

Find and Delete

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

Find and Delete

Vi

$ vi server.php

Vi Command

Vi Editor

Vi Save

Tail

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

Tail Command

Cleanup

$ cleanup

Cleanup Command

Alternatives to recca0120/terminal

nunomaduro/collision

Cli error handling for console/command-line PHP applications.

431,187,642 4,660
tomshaw/laravel-calendar-table

A Laravel calendar table database migration and console command.

73,143 8
hmazter/laravel-schedule-list

Laravel package to add command to list all scheduled artisan commands

443,944 94
rahul900day/laravel-console-spinner

Laravel Console Spinner is a spinner output for Laravel command line.

137,221 76
novius/laravel-artisan-commands

Additional artisan commands for Laravel

26,995 7

Version History

Version Released PHP Laravel License
v1.12.2 >=5.5.9 ^5.1|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0 MIT
v1.12.1 >=5.5.9 ^5.1|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0 MIT
v1.12.0 >=5.5.9 ^5.1|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0 MIT
v1.11.0 >=5.5.9 ^5.1|^6.0|^7.0|^8.0|^9.0|^10.0 MIT
v1.10.0 >=5.5.9 ^5.1|^6.0|^7.0|^8.0|^9.0 MIT