/openapi-php

PHP implementation of the OpenAPI Specification using PHP attributes

Primary LanguagePHPApache License 2.0Apache-2.0

OpenAPI for PHP

Description

This is an implementation of the OpenAPI specification using PHP attributes.

Currently, this implementation is compatible with OpenAPI 3.0.2 and requires PHP >= 8.1.

Usage

Install the library using Composer: composer require djairhogeuens/openapi-php.

Find the full specification on the wiki of this repository including references to the PHP docs.

See the example folder for an example on how to use the attributes in your project.