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)044.4k↓22.8%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 1mo 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

33

—

LowBetter than 75% of packages

Maintenance43

Moderate activity, may be stable

Popularity29

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity32

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

459d 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

55715.9M69](/packages/league-openapi-psr7-validator)[kevinrob/guzzle-cache-middleware

A HTTP/1.1 Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack. (RFC 7234)

43417.4M104](/packages/kevinrob-guzzle-cache-middleware)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

121.6M26](/packages/mezzio-mezzio-authentication)

PHPackages © 2026

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