LaravelX plugin for Oh My (fuc\*ing) Zsh
August 21, 2021 ยท View on GitHub
based on the laravel5 plugin.
This plugin adds some aliases for common Laravel commands.
To use it, follow the instructions below:
- clone this repo into your
~/.oh-my-zsh/custom/pluginsdirectory
cd ~/.oh-my-zsh/custom/plugins
git clone git@github.com:rsthegeek/oh-my-zsh-laravelx.git laravelX
- add
laravelXto the plugins array in your~/.zshrcfile
plugins=(... laravelX)
Aliases
| Alias | Command | Description |
|---|---|---|
| a | php artisan | Main Artisan command |
| a:cc | php artisan cache:clear | Flush the application cache |
| a:rc | php artisan route:clear | Clear all cached routes |
| a:rl | php artisan route:list | List all registered routes |
| a:vp | php artisan vendor:publish | Publish any publishable assets from vendor package |
Contributing
Pull requests are welcome.
License
Please see the LICENSE included in this repository for a full copy of the MIT license, which this project is licensed under.