library artisan-bash-completion-plugin
Artisan Completion for the Laravel framework.
baisam/artisan-bash-completion-plugin
Artisan Completion for the Laravel framework.
- Friday, June 16, 2017
- by realeff
- Repository
- 1 Watchers
- 0 Stars
- 13 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
artisan-bash-completion-plugin for Composer
This is an experimental hack to add Symfony BASH auto complete to Composer via a plugin. It's a pretty slimy hack, but it works without editing Composer's code., (*1)
Installation
- Run
composer require baisam/artisan-bash-completion-plugin dev-master
-
Add a completion class to App\Console\Kernel :, (*2)
# The Artisan commands provided by your application.
protected $commands = [
\BaiSam\Component\Symfony\Console\BashCompletion\ArtisanCompletionCommand::class,
];
Explanation
This hacky plugin injects an additional command into the Artisan application at runtime. When the plugin in this package is activated and the command line starts with php artisan _completion
., (*3)
dev-master
9999999-dev
Artisan Completion for the Laravel framework.
Sources
Download
MIT
The Requires
laravel
artisan
completion