承接 opis/json-schema 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

opis/json-schema

最新稳定版本:2.6.0

Composer 安装命令:

composer require opis/json-schema

包简介

Json Schema Validator for PHP

README 文档

README

Tests Packagist Version Packagist Downloads Packagist License

Validate JSON documents

Opis JSON Schema is a PHP implementation for the JSON Schema standard (draft-2020-12, draft-2019-09, draft-07 and draft-06), that will help you validate all sorts of JSON documents, whether they are configuration files or a set of data sent to a RESTful API endpoint.

The library's key features:

Documentation

The full documentation for this library can be found here. We provide documentation for both JSON Schema standard itself as well as for the library's own API.

License

Opis JSON Schema is licensed under the Apache License, Version 2.0.

Requirements

  • PHP ^7.4 || ^8.0

Installation

Opis JSON Schema is available on Packagist, and it can be installed from a command line interface by using Composer.

composer require opis/json-schema

Or you could directly reference it into your composer.json file as a dependency

{
    "require": {
        "opis/json-schema": "^2.6"
    }
}

统计信息

  • 总下载量: 32.31M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 632
  • 点击次数: 1
  • 依赖项目数: 176
  • 推荐数: 3

GitHub 信息

  • Stars: 625
  • Watchers: 14
  • Forks: 64
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2026-01-04