Cómo obtener variable de URL en Laravel
request('variable')
Mohamad
request('variable')
/** resources/my_view.blade.php */
{{ request()->id }}
/** resources/my_view.blade.php */
{{ request()->id }}
{{ app('request')->input('a') }}
url('path') . '?' . http_build_query(['param1' => 'value', 'param2' => 'value']);