fish-artisan-completion icon indicating copy to clipboard operation
fish-artisan-completion copied to clipboard

Artisan command completion for the fish shell

fish-artisan-completion

Artisan command completion for the fish shell

Installation

Manual

To manually install the files from the completions and functions directories on your machine, you may run these commands:

curl -L --create-dirs -o ~/.config/fish/completions/artisan.fish https://github.com/adriaanzon/fish-artisan-completion/raw/master/completions/artisan.fish
curl -L --create-dirs -o ~/.config/fish/completions/php.fish https://github.com/adriaanzon/fish-artisan-completion/raw/master/completions/php.fish
curl -L --create-dirs -o ~/.config/fish/functions/artisan.fish https://github.com/adriaanzon/fish-artisan-completion/raw/master/functions/artisan.fish

Plugin manager

If you have one, you can use a plugin manager. If you don't have a plugin manager and you're looking for something simple, you may want to try this.

Usage

The completion works on both php artisan and ./artisan. It also works with the artisan alias provided with this plugin.