Plugin for skipping the php
command when running artisan commands and ./sail
or ./vendor/bin/sail
when running sail commands.
git clone https://github.com/empresslabs/laravel.plugin.zsh.git $ZSH_CUSTOM/plugins/laravel
~/.zshrc
plugins=(... laravel)
zinit light empresslabs/laravel.plugin.zsh
zi light empresslabs/laravel.plugin.zsh
zgenom load empresslabs/laravel.plugin.zsh
zplug empresslabs/laravel.plugin.zsh
cd /path/to/laravel/project # or subdirectory
artisan # instead of php artisan
sail # instead of ./sail or ./vendor/bin/sail
This project is licensed under the MIT License - see the LICENSE file for details.