Answers for "laravel get url with parameters"

PHP
4

how to get variable from url in laravel

request('variable')
Posted by: Guest on April-04-2021
0

current URL without url site laravel

is work
{{Request::path()}}
or
request()->path()
Posted by: Guest on October-24-2020
1

laravel get url parameters in controller

public function update($name)
{
    User::where('name', $name)->first();
    return view('test')->with('user', $user);
}
Posted by: Guest on February-22-2021

Code answers related to "laravel get url with parameters"

Browse Popular Code Answers by Language