pull url laravel code example
Example 1: laravel use url
use Illuminate\Support\Facades\URL;
echo URL::current();
Example 2: laravel signed Route custom domain
URL::forceRootUrl('example.com');
use Illuminate\Support\Facades\URL;
echo URL::current();
URL::forceRootUrl('example.com');