{"repo":"cebe/php-openapi","free":true,"listed":false,"github":"https://github.com/cebe/php-openapi","clone":"git clone https://github.com/cebe/php-openapi.git","description":"Read and write OpenAPI yaml/json files and make the content accessible in PHP objects.","language":"PHP","stars":499,"topics":["openapi","openapi3","php","api","schema","api-spec","hacktoberfest"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"php-openapi Read and write OpenAPI 3.0.x YAML and JSON files and make the content accessible in PHP objects. It also provides a CLI tool for validating and converting OpenAPI 3.0.x Description files. Install composer require cebe/php-openapi Requirements - PHP 7.1 or higher (works fine with PHP 8) Used by This library provides a low level API for reading and writing OpenAPI files. It is used by higher level tools to do awesome work: - cebe/yii2-openapi Code Generator for REST API from OpenAPI 3 Descriptions, includes fake data generator. - cebe/yii2-app-api Yii framework application template for developing API-first applications. - league/openapi-psr7-validator validates PSR-7 messages (HTTP request/response) against OpenAPI descriptions. - dsuurlant/response2schema a quick and easy tool for generating OpenAPI schemas based on example data. - hotmeteor/spectator a light-weight OpenAPI testing tool for existing Laravel test suite. - googoogajoob/openapi-slim4 Configure the paths of a slim4 application from an openapi definition. - ... (add yours) Usage CLI Tool $ vendor/bin/php-openapi help PHP OpenAPI 3 tool ------------------ by Carsten Brandt Usage: php-openapi [ ] [input.yml input.json] [output.yml output.json] The following commands are available: validate Validate the API Description in the specified input file against the OpenAPI v3.0 schema. Note: the validation is performed in two steps. The results are composed of (1) structural errors found while reading the API Des","default_branch":null,"files":null,"tree":[],"storefront":"/r/cebe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cebe/php-openapi/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}