Clean and correct way to call a request internally in Laravel 5+

To call a Laravel 5.* Request internally and complete the request life cycle, below are the steps to follow for various methods:

  1. GET

    $request = Request::create(url, 'GET');
    $response = Route::dispatch($request);
    return $response;
  2. POST (with parameters)

    $params = array(
        'product_code' => 'GYU16R',
        'qty' => '1',
        'price' => 660,
    );
    
    $request = Request::create(url, 'POST', $params);
    $response = app()->handle($request);
    return $response;