laravel use url
snippet in php

get app url in laravel

user2515

URL::to('/');

laravel use url

user1596

use Illuminate\Support\Facades\URL;

echo URL::current();

laravel signed route

user6960

use Illuminate\Support\Facades\URL;

return URL::signedRoute('unsubscribe', ['user' => 1]);