// Get the value of a request parameter $name = $request->input('name'); // Check if a parameter exists in the request if ($request->has('email')) { // do something } // Retrieve the value of a file $file = $request->file('photo'); // Retrieve all input values as an array $input = $request->all();Overall, the Illuminate\Http\Request class provides a useful set of methods for working with HTTP requests in PHP.