Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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 */
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #sail #alias
ADD COMMENT
Topic
Name
9+7 =