jane/openapi-runtime
Deprecated runtime package for Jane OpenAPI. This repository is no longer maintained; development has moved to the main janephp/janephp project. Use that repo for current OpenAPI runtime components and updates.
darkaonline/l5-swagger).zircote/swagger-php).Jane\OpenApiRuntime\Client), which are not Laravel-native. Manual shims would be required, increasing technical debt.openapi-client-php or php-openapi).darkaonline/l5-swagger)?zircote/swagger-php, php-openapi/client) been ruled out?OpenApi::client()).Guzzle/Symfony HTTP Client).create_function().Guzzle client?).// app/Providers/OpenApiServiceProvider.php
public function register() {
$this->app->singleton('openapi.client', function () {
return new \Jane\OpenApiRuntime\Client(config('openapi.url'));
});
}
php-openapi/client (supports OpenAPI 3.x, PSR-18 HTTP clients):
composer require php-openapi/client
use OpenAPI\Client;
$client = new Client(config('openapi.url'));
| Phase | Task | Owner | Risk |
|---|---|---|---|
| Discovery | Document JanePHP-generated API client structure. | Backend Dev | Low |
| Compatibility | Test package with Laravel’s Composer autoloader. | TPM/Dev | Medium |
| Integration | Build Laravel service provider wrapper. | Backend Dev | High |
| Deprecation | If integration fails, evaluate php-openapi/client migration. |
TPM | Low |
"jane/openapi-runtime": "dev-master").config_cache, opcache).| Scenario | Impact | Mitigation |
|---|---|---|
| PHP 8.x Deprecation Fails | Runtime errors on upgrade. | Fork and patch, or migrate to php-openapi/client. |
| JanePHP Codegen Incompatibility | API requests fail silently. | Add validation layer (e.g., PEST tests). |
| Composer Autoload Conflicts | Class not found errors. | Isolate in a separate Composer package. |
| No Security Updates | Vulnerable to PHP/Runtime CVEs. | Replace with maintained alternative. |
php-openapi/client, zircote/swagger-php).php-openapi/client.How can I help you explore Laravel packages today?