PHP Package: api-platform/jsonld

API Platform's JSON-LD library for seamless integration with Linked Data, offering rich context and semantics for web APIs.

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

Package Description

API Platform's JSON-LD library is designed to provide robust support for Linked Data and facilitate the integration of semantic context into web APIs. Through leveraging JSON-LD, developers can ensure structured data representation, improved SEO, and enhanced interoperability across different systems and platforms. This library simplifies the process of creating and consuming rich data structures while adhering to the principles of the Linked Data standards.

📦 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/jsonld/4.1.15/loader.php';
require_once 'libs/api-platform/core/4.1.16/loader.php';

use ApiPlatform\JsonLd\ContextBuilder;
use ApiPlatform\Core\Serializer\SerializerContextBuilderInterface;

$obj = new ContextBuilder();
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.