martins-74/artisan-gui

Laravel Artisan 命令图形用户界面。(无需 SSH 也能在实时服务器上运行)

安装: 659

依赖者: 0

建议者: 0

安全: 0

星星: 29

关注者: 1

分支: 8

开放问题: 1

类型:项目

dev-master 2017-08-25 19:04 UTC

This package is not auto-updated.

Last update: 2024-09-29 03:47:07 UTC


README

Artisan GUI 是一个用于 Artisan 命令的 Laravel 图形用户界面。(无需 SSH 也能在实时服务器上运行)。

Artisan GUI 在 Laravel 维护模式下也能运行,让您可以在不伤害用户的情况下执行命令。

enter image description here

安装

Composer 上执行以下命令以开始下载和安装:

composer require martins-74/artisan-gui:dev-master

一旦 Artisan GUI 安装完成,您需要在 config/app.php 中注册一个 Laravel 服务提供者:

    'providers' => [
		...
		Martins\ArtisanGUI\ArtisanGUIServiceProvider::class,
	]

现在我们需要发布配置,通过以下命令执行:

php artisan vendor:publish

最后一步是编辑 config/artisan-gui-configs.php 文件中的密码:

'password' => "wellthisisthesafestpassword",

提示:出于安全原因,Artisan GUI 在 Laravel 的调试模式下运行,因此请确保 APP_DEBUG 设置为 true ("APP_DEBUG=true")。但是,您可以在 config/artisan-gui-configs.php 中更改此依赖项('useLaravelDebug' => "no"),以允许您通过其他变量('artisanGUISwitch' => "on")激活/禁用 Artisan GUI,这些变量也位于同一文件中。

完成以上步骤后,请导航到 www.yoursite.com/artisan-gui

命令列表

注意

  • 找不到命令?请与我联系,我会看看是否可以添加。
php artisan make:controller;
php artisan make:migration;
php artisan make:model;
php artisan make:mail;
php artisan make:command;
php artisan make:seed;

php artisan migrate;
php artisan migrate:refresh;
php artisan migrate:install;

php artisan queue:table;
php artisan queue:restart;
php artisan queue:work;

php artisan db:seed;

php artisan schedule:run;

php artisan vendor:publish;

php artisan storage:link;

php artisan down;

php artisan up;

php artisan cache:clear;