Download the PHP package meego47/artisan-wizard without Composer
On this page you can find all versions of the php package meego47/artisan-wizard. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download meego47/artisan-wizard
More information about meego47/artisan-wizard
Files in meego47/artisan-wizard
Package artisan-wizard
Short Description ArtisanWizard is a user-friendly Laravel package that brings interactivity to your artisan commands.
License MIT
Homepage https://github.com/meego47/artisan-wizard
Informations about the package artisan-wizard
Artisan Wizard — interactive Artisan commands for Laravel
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 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
- 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
- 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
- PHP 8.2+
- Laravel 10, 11, 12, or 13
Installation
Install the package via Composer:
The service provider is auto‑discovered, so there's nothing else to wire up.
Optionally publish the (currently empty) config file:
Usage
Start the wizard:
A typical session looks like this:
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
Static analysis and code style:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Ruslan Mironcenco
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of artisan-wizard with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0||^13.0