creative-syntax/artisan-ui

一个简单的Laravel包,用于具有用户界面的Artisan命令

安装: 64

依赖者: 0

建议者: 0

安全性: 0

星标: 15

关注者: 1

分支: 1

开放问题: 0

语言:Blade

类型:laravel-package

v2.1.0 2023-03-12 09:18 UTC

This package is auto-updated.

Last update: 2024-09-13 21:56:13 UTC


README

一个简单的Laravel包,用于具有用户界面的Artisan命令。

安装

步骤 1: 运行composer命令

composer require creative-syntax/artisan-ui

步骤 2: Laravel不使用自动发现

如果您不使用自动发现,请将 ServiceProvider 添加到 config/app.php 文件中的 providers 数组

CreativeSyntax\ArtisanUi\CreativeSyntaxArtisanUi::class,

步骤 3: 发布包配置

php artisan vendor:publish --tag="artisan-ui:config"

- 或 -

php artisan vendor:publish --provider="CreativeSyntax\ArtisanUi\CreativeSyntaxArtisanUi" --force

如何使用?非常简单

通过路由直接使用

>> 只需安装并运行以下路由
Ex: http://your-website/onex/artisan-ui

Ex: http://:8000/onex/artisan-ui

cache_ui

controller_ui

alter_ui

migration_ui

功能 / 特性

>> 通过Web用户界面(GUI)在LIVE服务器上运行所有Artisan命令
>> 在共享主机和专用主机上运行所有Artisan命令

您可以在 "config/artisan-ui.php" 中修改配置设置

/** If you want to disable the route or this feature, then make it false */
'is_route_enabled' => true,
/** If you want to change the route prefix */
'route_prefix' => 'onex',
/** If you want to change the route name or path */
'route_name' => 'artisan-ui',
/** If you want to change the page heading */
'page_heading' => 'Artisan UI',
/** If you want to enable the securiry for access the artisan commands user interface (UI)
 *  Then make it ('is_enabled') true and also you can set login-id and password 
 */
'authentication' => [
    'is_enabled' => env('ARTISAN_UI_AUTH_ENABLED', false),
    'login_id' => env('ARTISAN_UI_LOGIN_ID', 'onexadmin'),
    'password' => env('ARTISAN_UI_LOGIN_PASSWORD', 'onexpassword')
]

access_ui

许可证

MIT许可证(MIT)。请参阅 许可证文件 以获取更多信息。

提交问题:如果有任何问题

如果您有任何问题,请 告诉我