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.
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.
Download Latest Version: 4.1.15

Previous Versions
v4.1.1
v4.1.3 - Coming soon
v4.1.4 - Coming soon
v4.1.5 - Coming soon
v4.1.6 - Coming soon
v4.1.7 - Coming soon
v4.1.8
v4.1.9
v4.1.12
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.