add laravel sail build as alias

Solutions on MaxInterview for add laravel sail build as alias by the best coders in the world

showing results for - "add laravel sail build as alias"
Matilda
05 Jan 2018
1/* So you can just run sail up 
2instead of: vendor/bin/sail up    
3(If you add -d to your command it runs in the background of the same terminal)
4Run this inside your project. Also this method does not carry over sessions */
5alias sail="bash vendor/bin/sail"
6sail up -d
7/* here is the official documentation for this 
8https://laravel.com/docs/8.x/sail#configuring-a-bash-alias */
Jessica
14 Jul 2016
1// Usage: laravelBuild [project name] [comma separated list of services]
2laravelBuild() { /usr/bin/curl -s "https://laravel.build/\"$1\"?with=\"$2\"" | bash && cd "$1"; }