redirect to external url in laravel artisan commands code example Example: laravel redirect external url return redirect()->away('https://www.google.com');