PHPackages                             zero-to-prod/data-model-adapter-openapi30 - 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. zero-to-prod/data-model-adapter-openapi30

ActiveLibrary[API Development](/categories/api)

zero-to-prod/data-model-adapter-openapi30
=========================================

An adapter for the OpenAPI 3.0 for DataModelGenerator

v0.3.10(3mo ago)1513[1 PRs](https://github.com/zero-to-prod/data-model-adapter-openapi30/pulls)MITPHPPHP &gt;=8.1.0CI passing

Since Nov 26Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/zero-to-prod/data-model-adapter-openapi30)[ Packagist](https://packagist.org/packages/zero-to-prod/data-model-adapter-openapi30)[ Docs](https://github.com/zero-to-prod/data-model-adapter-openapi30)[ Fund](https://github.com/sponsors/zero-to-prod)[ RSS](/packages/zero-to-prod-data-model-adapter-openapi30/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (9)Versions (32)Used By (0)

Zerotoprod\\DataModelAdapterOpenapi30
=====================================

[](#zerotoproddatamodeladapteropenapi30)

[![Repo](https://camo.githubusercontent.com/9a90a3efeee26aed7d7f2feee9cd84566a26f9c362cc773b184d076210906e1c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6769746875622d677261793f6c6f676f3d676974687562)](https://github.com/zero-to-prod/data-model-adapter-openapi30)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/186f12a7f6e5cbb681af523aa1f4c032e69d0659cc9064b336d563a5ac589621/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d616461707465722d6f70656e61706933302f746573742e796d6c3f6c6162656c3d74657374)](https://github.com/zero-to-prod/data-model-adapter-openapi30/actions)[![GitHub Actions Workflow Status](https://camo.githubusercontent.com/74b38b3e9e713c2311bd6bec918bfc1e44bfd2283f498e765ece00b299ade41b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d616461707465722d6f70656e61706933302f6261636b77617264735f636f6d7061746962696c6974792e796d6c3f6c6162656c3d6261636b77617264735f636f6d7061746962696c697479)](https://github.com/zero-to-prod/data-model-adapter-openapi30/actions)[![Packagist Downloads](https://camo.githubusercontent.com/6699b6194b36162493fe62b779aca226ef8e5a0813285f75b883f6ef53d39429/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d616461707465722d6f70656e61706933303f636f6c6f723d626c7565)](https://packagist.org/packages/zero-to-prod/data-model-adapter-openapi30/stats)[![Packagist Version](https://camo.githubusercontent.com/21ffa9726f820a7b9b603db2c0c5a5b2b27ae4c2c076c26482c555cf3e941912/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d616461707465722d6f70656e61706933303f636f6c6f723d663238643161)](https://packagist.org/packages/zero-to-prod/data-model-adapter-openapi30)[![License](https://camo.githubusercontent.com/cda111a79afacaa53eff110e33d7582609efb4d274edd8b07728026270746e44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d616461707465722d6f70656e61706933303f636f6c6f723d726564)](https://github.com/zero-to-prod/data-model-adapter-openapi30/blob/main/LICENSE.md)[![wakatime](https://camo.githubusercontent.com/beabf49d0fe3ddf9636a833f0af67552fd6f43bfa8678f08b10c226652c93714/68747470733a2f2f77616b6174696d652e636f6d2f62616467652f6769746875622f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d616461707465722d6f70656e61706933302e737667)](https://wakatime.com/badge/github/zero-to-prod/data-model-adapter-openapi30)[![Hits-of-Code](https://camo.githubusercontent.com/1934619a7c1fa2c2753eae6b95a4c879b523436ad3776eae530540b7ad310a0a/68747470733a2f2f686974736f66636f64652e636f6d2f6769746875622f7a65726f2d746f2d70726f642f646174612d6d6f64656c2d616461707465722d6f70656e61706933303f6272616e63683d6d61696e)](https://hitsofcode.com/github/zero-to-prod/data-model-adapter-openapi30/view?branch=main)

Contents
--------

[](#contents)

- [Introduction](#introduction)
- [Requirements](#requirements)
- [Installation](#installation)
- [Documentation Publishing](#documentation-publishing)
    - [Automatic Documentation Publishing](#automatic-documentation-publishing)
- [Local Development](./LOCAL_DEVELOPMENT.md)
- [Contributing](#contributing)

Introduction
------------

[](#introduction)

An adapter for the OpenAPI 3.0 for [DataModelGenerator](https://github.com/zero-to-prod/data-model-generator).

Requirements
------------

[](#requirements)

- PHP 8.1 or higher.

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

[](#installation)

You can install this package via Composer.

```
composer require zero-to-prod/data-model-adapter-openapi30
```

This will add the package to your project's dependencies and create an autoloader entry for it.

Documentation Publishing
------------------------

[](#documentation-publishing)

You can publish this README to your local documentation directory.

This can be useful for providing documentation for AI agents.

This can be done using the included script:

```
# Publish to default location (./docs/zero-to-prod/data-model-adapter-openapi30)
vendor/bin/zero-to-prod-data-model-adapter-openapi30

# Publish to custom directory
vendor/bin/zero-to-prod-data-model-adapter-openapi30 /path/to/your/docs
```

### Automatic Documentation Publishing

[](#automatic-documentation-publishing)

You can automatically publish documentation by adding the following to your `composer.json`:

```
{
    "scripts": {
        "post-install-cmd": [
            "zero-to-prod-data-model-adapter-openapi30"
        ],
        "post-update-cmd": [
            "zero-to-prod-data-model-adapter-openapi30"
        ]
    }
}
```

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

[](#contributing)

Contributions, issues, and feature requests are welcome! Feel free to check the [issues](https://github.com/zero-to-prod/data-model-adapter-openapi30/issues) page if you want to contribute.

1. Fork the repository.
2. Create a new branch (`git checkout -b feature-branch`).
3. Commit changes (`git commit -m 'Add some feature'`).
4. Push to the branch (`git push origin feature-branch`).
5. Create a new Pull Request.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance82

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community7

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 ~15 days

Recently: every ~0 days

Total

30

Last Release

97d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/502649f05d36c87d494988bd99193a4d908d345335d99c080928a726277371f5?d=identicon)[zero-to-prod](/maintainers/zero-to-prod)

---

Top Contributors

[![zero-to-prod](https://avatars.githubusercontent.com/u/61474950?v=4)](https://github.com/zero-to-prod "zero-to-prod (29 commits)")

---

Tags

zero-to-prodDataModelAdapterOpenApi30data-model-adapter-openapi30

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zero-to-prod-data-model-adapter-openapi30/health.svg)

```
[![Health](https://phpackages.com/badges/zero-to-prod-data-model-adapter-openapi30/health.svg)](https://phpackages.com/packages/zero-to-prod-data-model-adapter-openapi30)
```

###  Alternatives

[zero-to-prod/data-model

Transforms Data into Type-Safe DTOs.

14226.2k32](/packages/zero-to-prod-data-model)

PHPackages © 2026

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