djairhogeuens / openapi-php
PHP implementation of the OpenAPI Specification using PHP attributes
Installs: 33
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 1
pkg:composer/djairhogeuens/openapi-php
Requires
- php: >=8.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.3.0
- vimeo/psalm: ^4.1
This package is auto-updated.
Last update: 2025-12-29 03:00:13 UTC
README
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.