PHPackages                             oas-php/resolver - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. oas-php/resolver

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

oas-php/resolver
================

JSON Reference resolver

v0.1.3(3y ago)017.5k1MITPHPPHP &gt;=7.4CI failing

Since Dec 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/oas-php/resolver)[ Packagist](https://packagist.org/packages/oas-php/resolver)[ RSS](/packages/oas-php-resolver/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (8)Versions (7)Used By (0)

oas-php / **resolver**
======================

[](#oas-php--resolver)

### JSON Reference resolver

[](#json-reference-resolver)

> An OpenAPI document MAY be made up of a single document or be divided into multiple, connected parts at the discretion of the user. In the latter case, $ref fields MUST be used in the specification to reference those parts as follows from the JSON Schema definitions.

This package is part of [oas-php project](https://github.com/oas-php) and is used internally by `oas-php/document` to resolve `$ref's`. However, it's not confined just to [OAS](https://github.com/OAI/OpenAPI-Specification). In fact, it might be used with any document which uses [JSON References](https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03).

#### installation

[](#installation)

The `oas-php/resolver` is a composer package. Install it by running:

```
composer req oas-php/resolver

```

The package dependency list is short as possible. However, I suggest installing a few [optional packages](./doc/01_installation.md#suggested-packages), so you don't need to configure anything yourself.

#### usage

[](#usage)

If you install [suggested packages](./doc/01_installation.md#suggested-packages), the simplest use case may look like:

```
$resolved = (new Resolver)->resolve('https://oas-php.github.io/sample/theater/openapi.json');
```

See [documentation](./doc/README.md) to learn more.

#### license

[](#license)

MIT

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~245 days

Total

4

Last Release

1292d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/dadab5c10f333284c1e3fde06e822c1438f2336f08c3c2857ea76054948fe1e4?d=identicon)[kubiernacki](/maintainers/kubiernacki)

---

Top Contributors

[![biera](https://avatars.githubusercontent.com/u/3907377?v=4)](https://github.com/biera "biera (9 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oas-php-resolver/health.svg)

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[mobiledetect/mobiledetectlib

Mobile\_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

10.7k167.0M503](/packages/mobiledetect-mobiledetectlib)[illuminate/contracts

The Illuminate Contracts package.

706127.7M12.5k](/packages/illuminate-contracts)[florianv/exchanger

PHP exchange rate provider layer for currency conversion: 30 services, chain fallback, and caching.

1854.9M20](/packages/florianv-exchanger)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

84735.1k](/packages/flow-php-flow)

PHPackages © 2026

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