Download the PHP package ascend/laravel-artisan-list-mine without Composer
On this page you can find all versions of the php package ascend/laravel-artisan-list-mine. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laravel-artisan-list-mine
Laravel Artisan List Mine
Ever used php artisan list to see what commands are available, or to remind yourself of a command's signature, but found yourself trawling through the long list of built-in Laravel commands? Easily filter them out by only showing your own artisan commands with php artisan list --mine.
Installation
The package will automatically register itself via Laravel's package discovery.
Usage
Use the --mine flag with the list command to show only your application's commands:
This filters out:
- Built-in Laravel commands (
make:*,migrate, etc.) - Commands from vendor packages
- Any command not defined in your configured namespaces (default:
App\)
Example Output
Configuration
By default, commands in the App\ namespace are considered application commands. If your project uses additional namespaces (e.g., Domain\, Modules\), publish the config file:
Then edit config/artisan-list-mine.php:
How It Works
The package identifies "application commands" by:
- Checking if the command class is in a configured namespace
- Checking if the command has a handler/action in a configured namespace (for closure-based or action-based commands)
Requirements
- PHP 8.0+
- Laravel 9.0+
Testing
License
MIT License. See LICENSE for more information.
All versions of laravel-artisan-list-mine with dependencies
illuminate/console Version ^9.0|^10.0|^11.0|^12.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0