baisam/artisan-bash-completion-plugin

Artisan Completion for the Laravel framework.
2,012
Install
composer require baisam/artisan-bash-completion-plugin
License:MIT
Last Updated:Jun 16, 2017
Links: GitHub  ·  Packagist
Maintainer: realeff

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.

Installation

  1. Run composer require baisam/artisan-bash-completion-plugin dev-master

  2. Add a completion class to App\Console\Kernel :

    # 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.

Related Packages

balping/artisan-bash-completion

Adds bash completion for Laravel 9+ artisan CLI.

175,249 6
nobodyiscertain/laravel-db-commands

A set of Artisan commands to help with database tasks.

2,235 1
fedeisas/laravel-js-routes

Laravel 4 routes from Javascript

140,305 62
bca/laravel-inspect

Instant support for PHP Code Sniffer, PHP CS Fixer, and PHP MD in the Artisan CL...

24,155 50