Sail

  • Open your ~/.profile file

  • Put these line below at the bottom of the file

alias sail='bash vendor/bin/sail'

# Running Artisan commands locally...
php artisan queue:work
php artisan migrate

# Running Artisan commands within Laravel Sail...
sail artisan queue:work
sail artisan migrate

Last updated