laravel get url from route name code example
Example 1: current URL without url site laravel
is work
{{Request::path()}}
or
request()->path()
Example 2: current url route laravel
\Route::current()
############### OR ####################
$request->getRequestUri()
Example 3: laravel get a url using name
$url = route('routeName');
$url = route('routeName', ['id' => 1]);
https://laravel.com/docs/5.1/helpers#method-route
Example 4: laravel signed route
use Illuminate\Support\Facades\URL;
return URL::signedRoute('unsubscribe', ['user' => 1]);