Registry / http-client / jane-open-api

jane-open-api

JSON →
library3.1.0phppackagistunverified

Generate a PHP Client API (PSR7 compatible) given a OpenApi (Swagger) specification

composer require jane/open-api
INSTALL
IMPORT
SIG · JANE-OPEN-API
J
jane-open-api
http-clientphpv3.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Jane\OpenApi\Client;

Create a PSR-7 compatible client from an OpenAPI specification.

<?php require 'vendor/autoload.php'; use Jane\OpenApi\Client; $client = Client::createFromOpenApi('path/to/openapi.yaml'); $result = $client->getResource()->get();
Debug
Known issues
gotchaRequires PHP 7.4+ and PSR-7 implementation (e.g., guzzlehttp/psr7).
fix
Ensure your project has a PSR-7 library installed and PHP version meets requirements.
affects: >=3.0.0
Upgrade
Version history
3.1.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
OpenAI (training)
1
Resources
jane-open-api — pip install jane-open-api · libregistry