Download the PHP package sweetrdf/json-ld without Composer
On this page you can find all versions of the php package sweetrdf/json-ld. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sweetrdf/json-ld
More information about sweetrdf/json-ld
Files in sweetrdf/json-ld
Package json-ld
Short Description JSON-LD Processor for PHP
License MIT
Homepage http://www.markus-lanthaler.com
Informations about the package json-ld
JsonLD (Fork)
[!NOTE] This is a fork of the Original JsonLD library written by Markus Lanthaler. I maintain it in my spare time to keep it alive and usable on the latest PHP versions. Code is more or less maintained but not developed any further. If you wanna participate, feel free to open a pull request!
JsonLD is a fully conforming JSON-LD processor written in PHP. It is extensively tested and passes the official JSON-LD test suite.
There's an online playground where you can evaluate the processor's basic functionality.
Additionally to the features defined by the JSON-LD API specification, JsonLD supports framing (including value matching, deep-filtering, aggressive re-embedding, and named graphs) and an experimental object-oriented interface for JSON-LD documents.
Installation
JsonLD requires PHP 8.1 or later.
The easiest way to install JsonLD is by requiring it with Composer.
Of course, you can also download JsonLD as ZIP archive from Github.
Usage
The library supports the official JSON-LD API as well as a object-oriented interface for JSON-LD documents (not fully implemented yet, see issue #15 for details).
All classes are extensively documented. Please have a look at the source code.