mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-30 14:24:16 +08:00
729339c780
Add some laravel aliases
27 lines
641 B
Bash
27 lines
641 B
Bash
#!zsh
|
|
alias artisan='php artisan'
|
|
alias bob='php artisan bob::build'
|
|
|
|
# Development
|
|
alias pas='php artisan serve'
|
|
|
|
# Database
|
|
alias pam='php artisan migrate'
|
|
alias pamf='php artisan migrate:fresh'
|
|
alias pamfs='php artisan migrate:fresh --seed'
|
|
alias pamr='php artisan migrate:rollback'
|
|
alias pads='php artisan db:seed'
|
|
|
|
# Makers
|
|
alias pamm='php artisan make:model'
|
|
alias pamc='php artisan make:controller'
|
|
alias pams='php artisan make:seeder'
|
|
alias pamt='php artisan make:test'
|
|
|
|
|
|
# Clears
|
|
alias pacac='php artisan cache:clear'
|
|
alias pacoc='php artisan config:clear'
|
|
alias pavic='php artisan view:clear'
|
|
alias paroc='php artisan route:clear'
|