laravel get what is behind the ? in url 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');