PHPackages                             skopenow/oas-tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. skopenow/oas-tools

ActiveLibrary[API Development](/categories/api)

skopenow/oas-tools
==================

PHP tools for working with Open API Specifications (version 2 and 3).

08PHP

Since Nov 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Skopenow/oas-tools)[ Packagist](https://packagist.org/packages/skopenow/oas-tools)[ RSS](/packages/skopenow-oas-tools/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

OAS Tools
=========

[](#oas-tools)

[![Join the chat at https://gitter.im/oas-tools/community](https://camo.githubusercontent.com/c9367c559bf620f889e39603e32386192b3e209b013d65def5def3b5da27c6c5/68747470733a2f2f6261646765732e6769747465722e696d2f6f61732d746f6f6c732f636f6d6d756e6974792e737667)](https://gitter.im/oas-tools/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Travis (.org)](https://camo.githubusercontent.com/890d297f1bbb7935880aa07621937fe881fdb3e78bc35175ae07ef50a644aaa0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f64616e62616c6c616e63652f6f61732d746f6f6c732e737667)](https://camo.githubusercontent.com/890d297f1bbb7935880aa07621937fe881fdb3e78bc35175ae07ef50a644aaa0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f64616e62616c6c616e63652f6f61732d746f6f6c732e737667)

OAS Tools is a PHP library for working with Open API Specifications in both version 2 and version 3 formats.

The purpose of the library is to provide a more convenient interface for working with Open API specifications than manipulating arrays generated directly from the JSON or YAML files themselves. Over time the scope of the library will be improved to cover more of the schema and additional common use cases.

The current implementation provides a few initial features, including the ability to:

- easily load version 2 and 3 schemas from a file or network location and in JSON or YAML format
- query for lists of operations, operation ids and paths without having to parse the whole schema yourself
- query for schemas/definitions, optionally resolving all references

Installation
------------

[](#installation)

Use the package manager [composer](https://getcomposer.org/) to install foobar.

```
composer require danballance/oas-tools
```

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/97a2e9b0485bb5803f271e97facd35feb341cd9e62155dc2875b46bf5dbbaa12?d=identicon)[Skopenow](/maintainers/Skopenow)

---

Top Contributors

[![Skopenow](https://avatars.githubusercontent.com/u/52211051?v=4)](https://github.com/Skopenow "Skopenow (2 commits)")

### Embed Badge

![Health badge](/badges/skopenow-oas-tools/health.svg)

```
[![Health](https://phpackages.com/badges/skopenow-oas-tools/health.svg)](https://phpackages.com/packages/skopenow-oas-tools)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
