Answers for "laravel sail alias in windows"

PHP
1

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 */
Posted by: Guest on July-13-2021
0

Laravel sail alias

alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
Posted by: Guest on January-07-2022

Browse Popular Code Answers by Language