Answers for "laravel request get parameter from url"

PHP
1

how get some parameter from request in laravel

$data = $request->only(
            'project_name',
            'project_code',
            'block_count',
            'unit_count',
            'contractor_name',
   );
Posted by: Guest on April-19-2021
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 request get parameter from url"

Browse Popular Code Answers by Language