定制 laragear/artisan-ui 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

laragear/artisan-ui

最新稳定版本:v1.0.0

Composer 安装命令:

composer require laragear/artisan-ui

包简介

Interactive Artisan command browser UI

README 文档

README

Latest Version on Packagist Latest stable test run Codecov coverage Maintainability Sonarcloud Status

Interactive Artisan command browser UI.

> php artisan ui

┌ ⚡ Laragear Artisan UI ──────────────────────────────────────┐
│ ab                                                           │
├──────────────────────────────────────────────────────────────┤
│ › about                                                    ┃ │
│   auth:clear-resets                                        │ │
│   serve                                                    │ │
│   vendor:publish                                           │ │
│   schedule:list                                            │ │
└──────────── Display basic information about your application ┘

Keep this package free

Your support allows me to keep this package free, up-to-date and maintainable. Alternatively, you can spread the word on social media.

Requirements

  • PHP 8.3 or later
  • Laravel 12 or later

How does this work?

Artisan UI is an interactive command browser for Laravel. It adds a rich, searchable terminal interface with fuzzy search using Laravel Prompts.

Installation

You can install the package via composer:

composer require laragear/artisan-ui

You can publish the config file with:

php artisan vendor:publish --provider=Laragear\ArtisanUi\ArtisanUiServiceProvider --tag="config"

Usage

Simply run php artisan without any arguments to launch the interactive UI.

Alternatively, you can call the ui command explicitly:

php artisan ui

Show hidden commands

By default, commands that are set to be hidden are not shown in the suggestion list. If you wish to show these commands, use the --show-hidden flag.

php artisan ui --show-hidden

Note

Hidden commands are still executable. The command input does not pose restrictions on what command to run.

Zed Editor Task

If you're using Zed, you will notice that tasks do not accept arguments. Laragear Artisan UI fixes this problem by showing a command browser. Simply add this task to your editor and you're all set.

{
    "label": "laragear artisan ui",
    "command": "php",
    "reveal": "always",
    "save": "all",
    "args": [
      "$ZED_WORKTREE_ROOT/artisan",
      "ui"
    ]
}

If you're using a remote container for PHP like Laragear/PHP, you can use Docker (or similar container runtime like Podman or Rancher):

{
    "label": "laravel artisan",
    "command": "docker",
    "reveal": "always",
    "save": "all",
    "args": [
        "run",
        "--rm",
        "-v",
        "$ZED_WORKTREE_ROOT:/app",
        "-u",
        "1000:1000",
        "-w",
        "/app",
        "-it",
        "laragear/php",
        "/usr/local/bin/php",
        "/app/artisan"
    ]
}

Tip

For more information, check out the Zed Editor tasks documentation.

Security

If you discover any security-related issues, please issue a security advisory.

License

This specific package version is licensed under the terms of the MIT License, at the time of publishing.

Laravel is a Trademark of Taylor Otwell. Copyright © 2011–2026 Laravel LLC.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 13
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-05-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固