larave links with query string code example Example: laravel pagination keep query string $result->appends(request()->query())->links()