poagen

Point poagen at an OpenAPI 3.0 or 3.1 document and get a typed PHP 8.4 client you never edit.

poagen reads an OpenAPI 3.0 or 3.1 document and emits a PHP 8.4 HTTP client. The generated tree is disposable: every run rewrites it whole, and your own code lives beside it.

Why poagen

Start

composer require poagen/client-runtime
composer require --dev poagen/client-generator

Write a profile, generate, and call the result. The quickstart takes you from an empty project to a first response.

Documentation

The source lives at github.com/mlavrinenko/poagen.