PHPackages                             ensi/openapi-psr7-validator - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. ensi/openapi-psr7-validator

ActiveLibrary[HTTP &amp; Networking](/categories/http)

ensi/openapi-psr7-validator
===========================

Validate PSR-7 messages against OpenAPI (3.0.2) specifications expressed in YAML or JSON

0.0.3(1y ago)052.2k↓31.7%1MITPHPPHP &gt;=7.2

Since Mar 6Pushed 1y agoCompare

[ Source](https://github.com/ensi-platform/openapi-psr7-validator)[ Packagist](https://packagist.org/packages/ensi/openapi-psr7-validator)[ Docs](https://github.com/thephpleague/openapi-psr7-validator)[ RSS](/packages/ensi-openapi-psr7-validator/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (18)Versions (4)Used By (1)

About
-----

[](#about)

Forked from [thephpleague/openapi-psr7-validator](https://github.com/thephpleague/openapi-psr7-validator)

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

[](#installation)

```
composer require ensi/openapi-psr7-validator

```

Additional
----------

[](#additional)

Добавлена проверка `BodySchemaValidator` на отсутствие неописанных ключей в ответе.

Для того, чтобы пропустить данную проверку, в схеме необходимо добавить ключ:

```
x-skip-response-validation: true

```

Пример:

```
Error:
  type: object
  properties:
    code:
      description: Строковый код ошибки
      type: string
    message:
      description: Описание ошибки
      type: string
    meta:
      x-skip-response-validation: true
      type: object
      description: Объект с мета-информацией
  required:
    - code
    - message

```

Все возможные рекурсии в схемах также должны сопровождаться ключем x-skip-response-validation.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance40

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 54.5% 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 ~355 days

Total

3

Last Release

505d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8089373?v=4)[Наталия](/maintainers/MsNatali)[@MsNatali](https://github.com/MsNatali)

![](https://avatars.githubusercontent.com/u/7352966?v=4)[Andrey](/maintainers/dimionx)[@DimionX](https://github.com/DimionX)

---

Top Contributors

[![lezhnev74](https://avatars.githubusercontent.com/u/10206110?v=4)](https://github.com/lezhnev74 "lezhnev74 (223 commits)")[![scaytrase](https://avatars.githubusercontent.com/u/6578413?v=4)](https://github.com/scaytrase "scaytrase (73 commits)")[![rogervila](https://avatars.githubusercontent.com/u/6053012?v=4)](https://github.com/rogervila "rogervila (23 commits)")[![sunspikes](https://avatars.githubusercontent.com/u/75611?v=4)](https://github.com/sunspikes "sunspikes (16 commits)")[![DimionX](https://avatars.githubusercontent.com/u/7352966?v=4)](https://github.com/DimionX "DimionX (12 commits)")[![canvural](https://avatars.githubusercontent.com/u/1574232?v=4)](https://github.com/canvural "canvural (10 commits)")[![KentarouTakeda](https://avatars.githubusercontent.com/u/4785040?v=4)](https://github.com/KentarouTakeda "KentarouTakeda (7 commits)")[![m0003r](https://avatars.githubusercontent.com/u/692310?v=4)](https://github.com/m0003r "m0003r (7 commits)")[![nektru](https://avatars.githubusercontent.com/u/9137294?v=4)](https://github.com/nektru "nektru (4 commits)")[![digilist](https://avatars.githubusercontent.com/u/833667?v=4)](https://github.com/digilist "digilist (4 commits)")[![imefisto](https://avatars.githubusercontent.com/u/3299088?v=4)](https://github.com/imefisto "imefisto (3 commits)")[![ckilb](https://avatars.githubusercontent.com/u/7283097?v=4)](https://github.com/ckilb "ckilb (3 commits)")[![bizurkur](https://avatars.githubusercontent.com/u/16649887?v=4)](https://github.com/bizurkur "bizurkur (3 commits)")[![Yarre](https://avatars.githubusercontent.com/u/2134158?v=4)](https://github.com/Yarre "Yarre (2 commits)")[![brayniverse](https://avatars.githubusercontent.com/u/945367?v=4)](https://github.com/brayniverse "brayniverse (2 commits)")[![camilledejoye](https://avatars.githubusercontent.com/u/11501572?v=4)](https://github.com/camilledejoye "camilledejoye (2 commits)")[![ctipggroup](https://avatars.githubusercontent.com/u/30641668?v=4)](https://github.com/ctipggroup "ctipggroup (2 commits)")[![Identity-labs](https://avatars.githubusercontent.com/u/600296?v=4)](https://github.com/Identity-labs "Identity-labs (1 commits)")[![hansott](https://avatars.githubusercontent.com/u/3886384?v=4)](https://github.com/hansott "hansott (1 commits)")[![garethellis36](https://avatars.githubusercontent.com/u/6451455?v=4)](https://github.com/garethellis36 "garethellis36 (1 commits)")

---

Tags

httpvalidationopenapipsr7

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ensi-openapi-psr7-validator/health.svg)

```
[![Health](https://phpackages.com/badges/ensi-openapi-psr7-validator/health.svg)](https://phpackages.com/packages/ensi-openapi-psr7-validator)
```

###  Alternatives

[league/openapi-psr7-validator

Validate PSR-7 messages against OpenAPI (3.0.2) specifications expressed in YAML or JSON

56117.4M93](/packages/league-openapi-psr7-validator)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M339](/packages/api-platform-core)[mezzio/mezzio

PSR-15 Middleware Microframework

3923.8M126](/packages/mezzio-mezzio)

PHPackages © 2026

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