PHPackages                             meego47/artisan-wizard - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. meego47/artisan-wizard

ActiveLibrary[CLI &amp; Console](/categories/cli)

meego47/artisan-wizard
======================

ArtisanWizard is a user-friendly Laravel package that brings interactivity to your artisan commands.

v0.1.0(1mo ago)31MITPHPPHP ^8.2CI passing

Since Jun 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/meego47/artisan-wizard)[ Packagist](https://packagist.org/packages/meego47/artisan-wizard)[ Docs](https://github.com/meego47/artisan-wizard)[ GitHub Sponsors](https://github.com/meego47)[ RSS](/packages/meego47-artisan-wizard/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (12)Versions (2)Used By (0)

 [![Artisan Wizard — interactive Artisan commands for Laravel](art/artisan-wizard.svg)](art/artisan-wizard.svg)

Artisan Wizard — interactive Artisan commands for Laravel
=========================================================

[](#artisan-wizard--interactive-artisan-commands-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6fdf938472a9a22ab6962fffcc2c4fa32125865ebe20b7c24a685b2b778a517f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6565676f34372f6172746973616e2d77697a6172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/meego47/artisan-wizard)[![GitHub Tests Action Status](https://camo.githubusercontent.com/33b0d9fd647323318041ae76e1c2a24b265568f835c3ecf79ddeb08952ede606/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6565676f34372f6172746973616e2d77697a6172642f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/meego47/artisan-wizard/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e302cbadd1b3867d1edfaff3b3c3f44cd3a3ff573e012ac667953e05b8e3d7df/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6565676f34372f6172746973616e2d77697a6172642f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/meego47/artisan-wizard/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/8e1f9dc30388e8bc51a1504d75461b81dd895d86d87f169f4284d8ad268181b2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6565676f34372f6172746973616e2d77697a6172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/meego47/artisan-wizard)

Artisan Wizard turns `php artisan` into a guided, interactive menu. Instead of remembering a command's exact name and the spelling of every argument and option, you run a single command and let the wizard walk you through it: pick a command from a list, fill in its arguments and options step by step, preview the exact call, and run it — all without leaving your terminal.

It's built on [Laravel Prompts](https://laravel.com/docs/prompts) and reads every command straight from Artisan's own definitions, so any command registered in your app — first‑party, framework, or third‑party package — shows up automatically.

Why use it
----------

[](#why-use-it)

- **Stop memorising commands and flags.** Every registered command, its description, arguments, and options are presented to you.
- **Never run a half‑filled command.** Required arguments and options are marked `[Required]`, and the *Run* action only appears once they're all provided.
- **See before you run.** The wizard prints the exact `artisan …` line it's about to execute, then shows the command's output and its exit code.
- **Great for onboarding.** New team members can discover what a project's commands do without digging through code.

Features
--------

[](#features)

- Browse every registered Artisan command, sorted alphabetically with descriptions.
- Fill arguments and options one at a time, with a running summary of what you've set.
- Full support for the input types Artisan defines:
    - required and optional arguments,
    - value options (`--queue=high`),
    - boolean flags (`--force`),
    - array / variadic arguments and options (add several values).
- Required‑field gating — *Run* is hidden until every required field has a value.
- A live preview of the command, e.g. `artisan migrate --force --ansi`.
- Run as many commands as you like in one session, with **Back** and **Exit** navigation.

Requirements
------------

[](#requirements)

- PHP 8.2+
- Laravel 10, 11, 12, or 13

Installation
------------

[](#installation)

Install the package via Composer:

```
composer require meego47/artisan-wizard
```

The service provider is auto‑discovered, so there's nothing else to wire up.

Optionally publish the (currently empty) config file:

```
php artisan vendor:publish --tag="artisan-wizard-config"
```

Usage
-----

[](#usage)

Start the wizard:

```
php artisan artisan-wizard:run
```

A typical session looks like this:

```
 ┌ Select an artisan command to execute: ──────────────────────┐
 │   make:controller - Create a new controller class           │
 │ › make:model - Create a new Eloquent model class            │
 │   make:migration - Create a new migration file              │
 │   …                                                         │
 │   Exit the wizard                                           │
 └─────────────────────────────────────────────────────────────┘

Filled fields:
  (None yet)

 ┌ Select a field to fill (or run the command): ───────────────┐
 │ › [Required] Fill argument: name - The name of the model    │
 │   Append option: migration - Create a new migration file    │
 │   Append option: factory - Create a new factory             │
 │   Back to command selection                                 │
 └─────────────────────────────────────────────────────────────┘

# → choose the argument and type "Product"
# → append --migration and --factory
# → once "name" is filled, "Run command with current settings" appears

Executing: artisan make:model Product --migration --factory --ansi

   INFO  Model [app/Models/Product.php] created successfully.
   INFO  Migration [database/migrations/..._create_products_table.php] created successfully.

Command executed successfully!

```

While configuring a command:

- **Pick a field** to fill from the menu. Arguments and value options prompt you for input; boolean flags are appended with a single selection. Array fields stay in the menu so you can add multiple values.
- **Run command with current settings** appears as soon as all required fields are filled; it runs the command, prints its output, and reports the exit code.
- **Back to command selection** returns you to the command list without running.
- **Exit the wizard** leaves the session.

Testing
-------

[](#testing)

```
composer test
```

Static analysis and code style:

```
composer analyse   # PHPStan / Larastan
composer format    # Laravel Pint
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Ruslan Mironcenco](https://github.com/meego47)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance91

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 54.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

45d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15268874?v=4)[Mironcenco Ruslan](/maintainers/meego47)[@meego47](https://github.com/meego47)

---

Top Contributors

[![meego47](https://avatars.githubusercontent.com/u/15268874?v=4)](https://github.com/meego47 "meego47 (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

---

Tags

consolelaravelartisaninteractivecommandwizardmeego47artisan-wizardartisan-helper

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/meego47-artisan-wizard/health.svg)

```
[![Health](https://phpackages.com/badges/meego47-artisan-wizard/health.svg)](https://phpackages.com/packages/meego47-artisan-wizard)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

13.0k107.5M1.6k](/packages/spatie-laravel-permission)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.2k12.6M136](/packages/dedoc-scramble)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k5.4M50](/packages/spatie-laravel-pdf)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

818355.4k3](/packages/defstudio-telegraph)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

46273.9k](/packages/harris21-laravel-fuse)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
