Updated plugin shortcuts

This commit is contained in:
Lewis Munyi 2021-10-12 23:40:56 +03:00
parent beeda72826
commit 56b924d526
2 changed files with 55 additions and 37 deletions

View file

@ -7,14 +7,20 @@ plugins=(... laravel)
``` ```
| Alias | Description | | Alias | Description |
|:-:|:-:| | :-------: | :-----------------: |
| `artisan` | `php artisan` | | `artisan` | `php artisan` |
| `pas` | `php artisan serve` | | `pas` | `php artisan serve` |
## Key
| Alias | Description |
| :----: | :------------------------: |
| `pakg` | `php artisan key:generate` |
## Database ## Database
| Alias | Description | | Alias | Description |
|:-:|:-:| | :-----: | :--------------------------------: |
| `pam` | `php artisan migrate` | | `pam` | `php artisan migrate` |
| `pamf` | `php artisan migrate:fresh` | | `pamf` | `php artisan migrate:fresh` |
| `pamfs` | `php artisan migrate:fresh --seed` | | `pamfs` | `php artisan migrate:fresh --seed` |
@ -24,7 +30,7 @@ plugins=(... laravel)
## Makers ## Makers
| Alias | Description | | Alias | Description |
|:-:|:-:| | :-----: | :-----------------------------: |
| `pamm` | `php artisan make:model` | | `pamm` | `php artisan make:model` |
| `pamc` | `php artisan make:controller` | | `pamc` | `php artisan make:controller` |
| `pams` | `php artisan make:seeder` | | `pams` | `php artisan make:seeder` |
@ -39,7 +45,7 @@ plugins=(... laravel)
## Clears ## Clears
| Alias | Description | | Alias | Description |
|:-:|:-:| | :-----: | :------------------------: |
| `pacac` | `php artisan cache:clear` | | `pacac` | `php artisan cache:clear` |
| `pacoc` | `php artisan config:clear` | | `pacoc` | `php artisan config:clear` |
| `pavic` | `php artisan view:clear` | | `pavic` | `php artisan view:clear` |
@ -48,10 +54,16 @@ plugins=(... laravel)
## Queues ## Queues
| Alias | Description | | Alias | Description |
|:-:|:-:| | :-----: | :------------------------------: |
| `paqf` | `php artisan queue:failed` | | `paqf` | `php artisan queue:failed` |
| `paqft` | `php artisan queue:failed-table` | | `paqft` | `php artisan queue:failed-table` |
| `paql` | `php artisan queue:listen` | | `paql` | `php artisan queue:listen` |
| `paqr` | `php artisan queue:retry` | | `paqr` | `php artisan queue:retry` |
| `paqt` | `php artisan queue:table` | | `paqt` | `php artisan queue:table` |
| `paqw` | `php artisan queue:work` | | `paqw` | `php artisan queue:work` |
## Storage
| Alias | Description |
| :----: | :------------------------: |
| `pasl` | `php artisan storage:link` |

View file

@ -5,6 +5,9 @@ alias bob='php artisan bob::build'
# Development # Development
alias pas='php artisan serve' alias pas='php artisan serve'
# Key
alias pakg='php artisan key:generate'
# Database # Database
alias pam='php artisan migrate' alias pam='php artisan migrate'
alias pamf='php artisan migrate:fresh' alias pamf='php artisan migrate:fresh'
@ -39,3 +42,6 @@ alias paql='php artisan queue:listen'
alias paqr='php artisan queue:retry' alias paqr='php artisan queue:retry'
alias paqt='php artisan queue:table' alias paqt='php artisan queue:table'
alias paqw='php artisan queue:work' alias paqw='php artisan queue:work'
# Storage
alias pasl='php artisan storage:link'