how to take required params from the request $req in laravel code example
Example: laravel get data from request
dd($request->all());
//print an array of the input name and the input value
dd($request->all());
//print an array of the input name and the input value