how to get data from url in laravel code example
Example 1: laravel use url
use Illuminate\Support\Facades\URL;
echo URL::current();
Example 2: laravel get query parameters
$name = $request->query('name', 'Helen');
use Illuminate\Support\Facades\URL;
echo URL::current();
$name = $request->query('name', 'Helen');