Home

Awesome

Sailor

If you've been using Oh-My-Zsh's Laravel Plugin to get aliases like pam for php artisan migrate and realized you need something similar for when you use Sail, this repo is for you.

Just clone the repository in your ~/.oh-my-zsh/plugins directory and modify plugins variable in your .zshrc file.

plugins=(... sailor)
AliasDescription
sasail artisan
sassail artisan serve
satsail artisan tinker

Database

AliasDescription
samsail artisan migrate
samfsail artisan migrate:fresh
samfssail artisan migrate:fresh --seed
samrsail artisan migrate:rollback
samr1sail artisan migrate:rollback --step=1
sadssail artisan db:seed

Makers

AliasDescription
sammsail artisan make:model
sammisail artisan make:migration
samcsail artisan make:controller
samssail artisan make:seeder
samtsail artisan make:test
samfasail artisan make:factory
sampsail artisan make:policy
samesail artisan make:event
samjsail artisan make:job
samlsail artisan make:listener
samnsail artisan make:notification

Clears

AliasDescription
sacacsail artisan cache:clear
sacocsail artisan config:clear
savicsail artisan view:clear
sarocsail artisan route:clear
saopcsail artisan optimize:clear

Queues

AliasDescription
saqfsail artisan queue:failed
saqftsail artisan queue:failed-table
saqlsail artisan queue:listen
saqrsail artisan queue:retry
saqtsail artisan queue:table
saqwsail artisan queue:work