laravel http get url code example
Example 1: get request uri from request laravel 7
Try to use the following:
\Request::getRequestUri()
Example 2: laravel use url
use Illuminate\Support\Facades\URL;
echo URL::current();
Try to use the following:
\Request::getRequestUri()
use Illuminate\Support\Facades\URL;
echo URL::current();