openapi-php-sdk
openapi-php-sdk copied to clipboard
š A fully-featured and blazing-fast PHP API client to interact with @OpenapiĀ®
## Problem In multi-tenant SaaS platforms, each tenant has its own Openapi credentials. Running ETL jobs for hundreds of tenants simultaneously requires generating, caching, and refreshing tokens per-tenant ā something...
## Context Several teams run nightly jobs that validate PEC addresses and push the results into their CRM (HubSpot, Salesforce, custom). The current SDK makes the API call straightforward but...
## Problem When geocoding large address lists (10k+ records), the API rate limits kick in. There is currently no built-in mechanism in the SDK to handle this gracefully. ## Typical...
## Use case A common ETL scenario: pull company data from the Openapi IT company API and load it into a local PostgreSQL database for reporting or enrichment pipelines. ##...
## Motivation As PHP evolves and the SDK targets PHP 8.0+, there are patterns that could be automatically modernised: constructor promotion, match expressions, named arguments, and more. ## Example Current...
## Background Dev tools like PHPUnit, PHPStan and PHPCS are currently in `require-dev` inside `composer.json`. This couples the project's dependency graph to tooling versions and can cause conflicts when the...
## Context Currently there is no automated build pipeline for code quality checks. Running lint, static analysis and tests manually is error-prone and inconsistent across contributors. ## Proposal Introduce **Phing**...
**Labels:** `enhancement`, `config` **Context:** CodeIgniter 4 with `.env`-based configuration **Description:** The SDK does not detect environment variables set in `.env`. Developers must hardcode API keys in code, which violates best...
**Labels:** `performance`, `investigation`, `guzzle` **Context:** Bulk API requests using `GuzzleHttp\Pool` **Description:** When sending 100+ requests in parallel through Guzzle's Pool, Openapi SDK instantiates a new Guzzle client per request, defeating...
**Labels:** `bug`, `laravel`, `middleware` **Context:** Laravel 11 + HTTP Client middleware (Guzzle handler stack) **Description:** When using the Openapi SDK within a Laravel service, the built-in HTTP client middleware is...