Laravel Packages

Browse and Execute Artisan Commands from an Interactive TUI

Published
Browse and Execute Artisan Commands from an Interactive TUI image

If you've ever blanked on the exact syntax of an Artisan command mid-session, Artisan Browse by Josh Embling gives you an interactive terminal interface for discovering, searching, and running any available command — without leaving the terminal.

Features

  • Interactive Command Search — searchable list of all available Artisan commands with descriptions
  • Filtering — filter by command namespace, or search across command names and descriptions
  • Auto Arguments & Options — step through required arguments and optional flags
  • Command Preview — see the exact command that will be executed before confirming
  • Configurable Behavior — customise blacklists, scroll behavior, search options, and more
  • Auto-Execute Option — skip confirmation and run commands immediately if desired

Browsing Commands

Running php artisan browse opens an interactive list of all available Artisan commands with their descriptions. You can scroll through the list, search by name, or filter by namespace.

To scope the list to a specific namespace, pass it as an argument:

php artisan browse cache

This displays only the cache:* commands, which can be handy when you don't want to scroll past unrelated entries.

Once you select a command, the package prompts you for any required arguments and walks you through optional flags one by one. Before execution, it shows you the exact command it's about to run so you can confirm before anything happens.

Artisan Browse is a dev-only tool meant for local development workflows. You can find the installation instructions and source code on GitHub.

Yannick Lyn Fatt photo

Staff Writer at Laravel News and Full stack web developer.

Sponsored

serpapi logo
SerpApi

The Web Search API for Your LLM and AI Applications

Visit SerpApi

The latest

View all →
Load Eloquent Models From Form Request Input in Laravel image

Load Eloquent Models From Form Request Input in Laravel

Read article
Laravel FFmpeg 9: Encode Video and Stream HLS and DASH image

Laravel FFmpeg 9: Encode Video and Stream HLS and DASH

Read article
Migration Durations and Job Memory Usage in Laravel 13.45 image

Migration Durations and Job Memory Usage in Laravel 13.45

Read article
Laravel CLI: One Binary for New PHP and Rust Laravel Apps image

Laravel CLI: One Binary for New PHP and Rust Laravel Apps

Read article
Phactorial: Render LaTeX Math to SVG and PNG in PHP image

Phactorial: Render LaTeX Math to SVG and PNG in PHP

Read article
Laravel, reimagined image

Laravel, reimagined

Read article