laravel sail alias

44

laravel sail alias -

/* So you can just run sail up 
instead of: vendor/bin/sail up    
(If you add -d to your command it runs in the background of the same terminal)
Run this inside your project. Also this method does not carry over sessions */
alias sail="bash vendor/bin/sail"
sail up -d
/* here is the official documentation for this 
https://laravel.com/docs/8.x/sail#configuring-a-bash-alias */

Laravel sail alias -

alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'

Comments

Submit
0 Comments