absszero / laravel-command-classname
Display Laravel command class name from artisan
0.1.0
2023-10-31 03:03 UTC
Requires
- php: >=5.5
- illuminate/console: ^5.6|^6.0|^7.0|^8.0|^9.0|^10.0
- illuminate/support: ^5.6|^6.0|^7.0|^8.0|^9.0|^10.0
- symfony/console: ^4.0|^5.0|^6.0
Requires (Dev)
- phpunit/phpunit: >=7.0
This package is auto-updated.
Last update: 2024-10-30 02:16:28 UTC
README
Requirements
Laravel 5.6
~ 10.x
Installation
composer require absszero/laravel-command-classname
Usage
- Display all command class names
$ php ./artisan classname Available commands: clear-compiled Illuminate\Foundation\Console\ClearCompiledCommand completion Symfony\Component\Console\Command\DumpCompletionCommand db Illuminate\Database\Console\DbCommand down Illuminate\Foundation\Console\DownCommand env Illuminate\Foundation\Console\EnvironmentCommand help Symfony\Component\Console\Command\HelpCommand inspire Illuminate\Foundation\Console\ClosureCommand ...
- Display all command paths
$ php ./artisan classname --path
Available commands:
clear-compiled /Volumes/laravel-project/vendor/laravel/framework/src/Illuminate/Foundation/Console/ClearCompiledCommand.php
completion /Volumes/laravel-project/vendor/symfony/console/Command/DumpCompletionCommand.php
db /Volumes/laravel-project/vendor/laravel/framework/src/Illuminate/Database/Console/DbCommand.php
down /Volumes/laravel-project/vendor/laravel/framework/src/Illuminate/Foundation/Console/DownCommand.php
env /Volumes/laravel-project/vendor/laravel/framework/src/Illuminate/Foundation/Console/EnvironmentCommand.php
help /Volumes/laravel-project/vendor/symfony/console/Command/HelpCommand.php
inspire /Volumes/laravel-project/vendor/laravel/framework/src/Illuminate/
...
- Display single command
$ php ./artisan classname clear-compiled Available commands: clear-compiled Illuminate\Foundation\Console\ClearCompiledCommand