laragear / artisan-ui
Interactive Artisan command browser UI
Requires
- php: ^8.3
- illuminate/cache: 12.*|13.*
- illuminate/console: 12.*|13.*
- illuminate/support: 12.*|13.*
- laravel/prompts: ^0.3.17
Requires (Dev)
- laragear/meta-testing: 4.*
- mockery/mockery: ^1.6
- orchestra/testbench: 10.*|11.*
README
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.
