laravel-ready / artisan-command-palette-ui
A UI for Laravel Artisan Command Palette
Requires
- php: ^8.0|^8.1|^8.2
- illuminate/support: ^8.0|^9.0|^10.0|^11.0|^12.0
Requires (Dev)
- orchestra/testbench: ^6.0|^7.0|^8.0|^9.0|^10.0
- phpunit/phpunit: ^9.0|^10.0
This package is not auto-updated.
Last update: 2025-05-14 12:54:00 UTC
README
A beautiful UI for Laravel Artisan commands that provides a command palette interface to search and execute Artisan commands directly from your browser.
๐ผ๏ธ Preview
๐ฆ Installation
You can install the package via composer:
composer require laravel-ready/artisan-command-palette-ui
โ๏ธ Configuration
Publish the configuration file:
php artisan vendor:publish --provider="LaravelReady\ArtisanCommandPaletteUI\ArtisanCommandPaletteUIServiceProvider" --tag="config"
This will create a config/artisan-command-palette-ui.php
file where you can modify the package settings.
๐ Usage
After installation, you can access the command palette UI at /artisan-command-palette
(or the custom route prefix you defined in the config).
The UI allows you to:
- Search for available Artisan commands
- View command descriptions and signatures
- Execute commands and see their output in real-time
๐ Security
By default, the command palette is protected by the auth
middleware, meaning only authenticated users can access it.
For additional security:
- The package is disabled in production environments by default (can be enabled in config)
- You can exclude sensitive commands in the config file
๐ป Frontend Development
If you want to modify the frontend assets, you can publish the views:
php artisan vendor:publish --provider="LaravelReady\ArtisanCommandPaletteUI\ArtisanCommandPaletteUIServiceProvider" --tag="views"
๐งช Testing
To run the test suite, you can use the following command:
composer test
๐ License
The MIT License (MIT). Please see License File for more information.