在 Web 应用程序中运行 artisan 命令
composer require recca0120/terminal --devOR
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 updateInclude 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"http://localhost/path/to/terminal
…not full support, but you can delete file use this function (please check file permission)
find ./vendor -name tests -type d -maxdepth 4 -delete…$ help$ artisan$ artisan migrate --seed$ artisan tinker$ mysql
mysql> select * from users;
# change connection
mysql> use sqlite;
mysql> select * from users;$ find ./ -name * -maxdepth 1$ find ./storage/logs -name * -maxdepth 1 -delete$ vi server.php$ tail
$ tail --line=1
$ tail server.php
$ tail server.php --line 5$ cleanup暂无开放 Issues,或尚未同步最近议题。