Skip to content

Commit

Permalink
added some aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
ariaieboy committed Jul 27, 2022
1 parent ee20542 commit 32f1ba3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
|:-:|:-:|
| `s cinit 80` | run `composer install --ignore-platform-reqs` using php version 8.0 - default php version is 8.1 |
| `s ninit 16` | run `npm install` using node 16 - default node version is 17 |

### General
| Alias | Description |
|:-:|:-:|
Expand All @@ -25,6 +26,14 @@
| `sud` | `sail up -d` |
| `sdown` | `sail down` |
|`sb`|`sail build`|
|`sbn`|`sail build --no-cache`|

### General Artisan Commands
|:-:|:-:|
| `saqw` | `sail artisan queue:work` |
| `saql` | `sail artisan queue:listen` |
| `sasw` | `sail artisan schedule:work` |
| `sasr` | `sail artisan schedule:run` |

### artisan and Dependencies
| Alias | Description |
Expand All @@ -33,6 +42,7 @@
|`sp`|`sail php`|
|`sc`|`sail composer`|
|`sn`|`sail npm`|
|`sy`|`sail yarn`|

### npm build commands
| Alias | Description |
Expand Down
6 changes: 6 additions & 0 deletions laravel-sail.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ alias sup='s up'
alias sud='s up -d'
alias sdown='s down'
alias sa='s artisan'
alias saqw='s artisan queue:work'
alias saql='s artisan queue:listen'
alias sasw='s artisan schedule:work'
alias sasr='s artisan schedule:run'
alias sp='s php'
alias sc='s composer'
alias sn='s npm'
alias sy='s yarn'
alias swatch='s npm run watch'
alias sprod='s npm run production'
alias sdev='s npm run dev'
Expand All @@ -36,5 +41,6 @@ alias ss='s shell'
alias sroot='s root-shell'
alias stinker='s tinker'
alias sb='s build'
alias sbn='s build --no-cache'
alias sshare='s share'
alias stan='sp ./vendor/bin/phpstan'

0 comments on commit 32f1ba3

Please sign in to comment.