laravel controller get method code example Example: laravel get query parameters $name = $request->query('name', 'Helen');