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 */
1// Usage: laravelBuild [project name] [comma separated list of services]
2laravelBuild() { /usr/bin/curl -s "https://laravel.build/\"$1\"?with=\"$2\"" | bash && cd "$1"; }