PHP Package: api-platform/json-schema

A PHP library for generating JSON Schemas with ease and flexibility, supporting schema validation and documentation.

Current Version: 4.1.15
Last Updated: Date not available
PHP Requirement: >=8.2
Dependencies:
api-platform/json-schema-library
symfony/serializer
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

JSON Schema PHP library by api-platform provides comprehensive tools for creating and validating JSON schemas effortlessly. It empowers developers to define structured data formats for APIs, ensuring compatibility and consistency across systems. With features like schema validation and automatic documentation generation, this library streamlines the JSON schema management process, enhancing API development efficiency and reliability.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.1.15

Download Download v4.1.15

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/api-platform/json-schema/4.1.15/loader.php';
require_once 'libs/api-platform/json-schema-library/{lib_version}/loader.php';
require_once 'libs/symfony/serializer/7.3.0/loader.php';

use ApiPlatform\JsonSchema\Schema;
use Symfony\Component\Serializer\Serializer;

$obj = new Schema();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.