1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00

Laravel artisan commands extension (#8425)

This commit is contained in:
Zeshan Khattak 2019-12-29 10:03:26 +05:00 committed by Robby Russell
parent 42d04d386d
commit e034030f39
2 changed files with 32 additions and 0 deletions

View file

@ -29,6 +29,12 @@ plugins=(... laravel)
| `pamc` | `php artisan make:controller` | | `pamc` | `php artisan make:controller` |
| `pams` | `php artisan make:seeder` | | `pams` | `php artisan make:seeder` |
| `pamt` | `php artisan make:test` | | `pamt` | `php artisan make:test` |
| `pamfa` | `php artisan make:factory` |
| `pamp` | `php artisan make:policy` |
| `pame` | `php artisan make:event` |
| `pamj` | `php artisan make:job` |
| `paml` | `php artisan make:listener` |
| `pamn` | `php artisan make:notification` |
## Clears ## Clears
@ -38,3 +44,14 @@ plugins=(... laravel)
| `pacoc` | `php artisan config:clear` | | `pacoc` | `php artisan config:clear` |
| `pavic` | `php artisan view:clear` | | `pavic` | `php artisan view:clear` |
| `paroc` | `php artisan route:clear` | | `paroc` | `php artisan route:clear` |
## Queues
| Alias | Description |
|:-:|:-:|
| `paqf` | `php artisan queue:failed` |
| `paqft` | `php artisan queue:failed-table` |
| `paql` | `php artisan queue:listen` |
| `paqr` | `php artisan queue:retry` |
| `paqt` | `php artisan queue:table` |
| `paqw` | `php artisan queue:work` |

View file

@ -17,6 +17,13 @@ alias pamm='php artisan make:model'
alias pamc='php artisan make:controller' alias pamc='php artisan make:controller'
alias pams='php artisan make:seeder' alias pams='php artisan make:seeder'
alias pamt='php artisan make:test' alias pamt='php artisan make:test'
alias pamfa='php artisan make:factory'
alias pamp='php artisan make:policy'
alias pame='php artisan make:event'
alias pamj='php artisan make:job'
alias paml='php artisan make:listener'
alias pamn='php artisan make:notification'
alias pampp='php artisan make:provider'
# Clears # Clears
@ -24,3 +31,11 @@ alias pacac='php artisan cache:clear'
alias pacoc='php artisan config:clear' alias pacoc='php artisan config:clear'
alias pavic='php artisan view:clear' alias pavic='php artisan view:clear'
alias paroc='php artisan route:clear' alias paroc='php artisan route:clear'
# queues
alias paqf='php artisan queue:failed'
alias paqft='php artisan queue:failed-table'
alias paql='php artisan queue:listen'
alias paqr='php artisan queue:retry'
alias paqt='php artisan queue:table'
alias paqw='php artisan queue:work'