OpenAPITools / OpenAPITools/openapi-generator

[PHP] Multiple HTTP library support

Open
#3,009 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Currently, the PHP API client uses Guzzle, which is highly extensible.

Has anyone run into dependency issue (conflicts) when using different versions of Guzzle in your applications?

What about adding a "library" option to support cURL?

cc @judgej

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the PHP API client's current Guzzle integration and the requested cURL alternative. Clarify whether dependency conflicts are the target and define how a "library" option should affect generated clients. Done means the supported-library behavior and compatibility expectations are documented and implemented with verification for both Guzzle and cURL.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.