Registry / http-client / jane-php-open-api-2

jane-php-open-api-2

JSON →
library7.11.2phppackagistunverified

Generate a PHP Client API (PSR7/PSR18 compatible) given a OpenApi 2.x (Swagger) specification

composer require jane-php/open-api-2
INSTALL
IMPORT
SIG · JANE-PHP-OPEN-API-
J
jane-php-open-api-2
http-clientphpv7.11.2
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.

JaneOpenApi
use Jane\OpenApi2\JaneOpenApi;

Generate a PHP client from a Swagger spec

<?php $openApi = \Jane\OpenApi2\JaneOpenApi::create()->buildFromOpenApi('path/to/swagger.json'); $client = $openApi->createClient();
Debug
Known issues
breakingRequires PHP 7.4+
fix
Upgrade PHP to 7.4 or higher
affects: <7.4
Upgrade
Version history
7.11.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
jane-php-open-api-2 — pip install jane-php-open-api-2 · libregistry