title: Converting Illuminate\Http\Request to array
body: <p>I'm making in use of a library that expects to receive a native PHP array such as is obtained from the global $_REQUEST.</p>
  
  <p>Unfortunately in this instance, the Illuminate\Http\Request is an object, and seems to have quite a different structure to the native php array. Is there a method to convert that object to the same array that would be obtained via '$_REQUEST' (which doesn't work inside a laravel controller method).</p>
  
  <p>Thanks in advance.</p>