PHP Apache-2.0

json-schema

JSON Schema validator for PHP

O

opis

Dernière activité 30 avr. 2026
opis/json-schema

659

étoiles

68

forks

15

issues ouvertes

json-pointerjson-schemaopisphp

Ce README est souvent en anglais.

Opis JSON Schema

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"
    }
}

Projets similaires

JSON Schema for PHP

PHPjsonschema
Jjsonrainbow
3,6 k étoiles375

An implementation of the JSON Schema specification for Python

Pythonjsonjson-schemajsonschema
Ppython-jsonschema
5 k étoiles684

The JSON Schema specification

JavaScriptapi-documentationjsonjson-schema
Jjson-schema-org
5,2 k étoiles461