From 56b924d526972ca6c8b1ea26cebc6a48ebc794cf Mon Sep 17 00:00:00 2001 From: Lewis Munyi Date: Tue, 12 Oct 2021 23:40:56 +0300 Subject: [PATCH] Updated plugin shortcuts --- plugins/laravel/README.md | 86 +++++++++++++++++------------- plugins/laravel/laravel.plugin.zsh | 6 +++ 2 files changed, 55 insertions(+), 37 deletions(-) diff --git a/plugins/laravel/README.md b/plugins/laravel/README.md index 95f590191..ef71d9c24 100644 --- a/plugins/laravel/README.md +++ b/plugins/laravel/README.md @@ -6,52 +6,64 @@ This plugin adds aliases and autocompletion for Laravel [Artisan](https://larave plugins=(... laravel) ``` -| Alias | Description | -|:-:|:-:| -| `artisan` | `php artisan` | -| `pas` | `php artisan serve` | +| Alias | Description | +| :-------: | :-----------------: | +| `artisan` | `php artisan` | +| `pas` | `php artisan serve` | + +## Key + +| Alias | Description | +| :----: | :------------------------: | +| `pakg` | `php artisan key:generate` | ## Database -| Alias | Description | -|:-:|:-:| -| `pam` | `php artisan migrate` | -| `pamf` | `php artisan migrate:fresh` | -| `pamfs` | `php artisan migrate:fresh --seed` | -| `pamr` | `php artisan migrate:rollback` | -| `pads` | `php artisan db:seed` | +| Alias | Description | +| :-----: | :--------------------------------: | +| `pam` | `php artisan migrate` | +| `pamf` | `php artisan migrate:fresh` | +| `pamfs` | `php artisan migrate:fresh --seed` | +| `pamr` | `php artisan migrate:rollback` | +| `pads` | `php artisan db:seed` | ## Makers -| Alias | Description | -|:-:|:-:| -| `pamm` | `php artisan make:model` | -| `pamc` | `php artisan make:controller` | -| `pams` | `php artisan make:seeder` | -| `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` | +| Alias | Description | +| :-----: | :-----------------------------: | +| `pamm` | `php artisan make:model` | +| `pamc` | `php artisan make:controller` | +| `pams` | `php artisan make:seeder` | +| `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 -| Alias | Description | -|:-:|:-:| -| `pacac` | `php artisan cache:clear` | -| `pacoc` | `php artisan config:clear` | -| `pavic` | `php artisan view:clear` | -| `paroc` | `php artisan route:clear` | +| Alias | Description | +| :-----: | :------------------------: | +| `pacac` | `php artisan cache:clear` | +| `pacoc` | `php artisan config:clear` | +| `pavic` | `php artisan view: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` | +| 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` | + +## Storage + +| Alias | Description | +| :----: | :------------------------: | +| `pasl` | `php artisan storage:link` | diff --git a/plugins/laravel/laravel.plugin.zsh b/plugins/laravel/laravel.plugin.zsh index a8382d3c9..7608092c7 100644 --- a/plugins/laravel/laravel.plugin.zsh +++ b/plugins/laravel/laravel.plugin.zsh @@ -5,6 +5,9 @@ alias bob='php artisan bob::build' # Development alias pas='php artisan serve' +# Key +alias pakg='php artisan key:generate' + # Database alias pam='php artisan migrate' alias pamf='php artisan migrate:fresh' @@ -39,3 +42,6 @@ alias paql='php artisan queue:listen' alias paqr='php artisan queue:retry' alias paqt='php artisan queue:table' alias paqw='php artisan queue:work' + +# Storage +alias pasl='php artisan storage:link'