PHPackages                             lengthofrope/create-jsonld-tiny - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. lengthofrope/create-jsonld-tiny

Abandoned → [lengthofrope/create-jsonld](/?search=lengthofrope%2Fcreate-jsonld)ArchivedLibrary[API Development](/categories/api)

lengthofrope/create-jsonld-tiny
===============================

Simple PHP library to create JSON-LD output. Tiny version

0.10.3(10y ago)0236MITPHPPHP &gt;=5.3

Since Feb 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/lengthofrope/create-jsonld-tiny)[ Packagist](https://packagist.org/packages/lengthofrope/create-jsonld-tiny)[ Docs](https://github.com/lengthofrope/create-jsonld-tiny)[ RSS](/packages/lengthofrope-create-jsonld-tiny/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (8)Used By (0)

create-jsonld-tiny [![Build Status](https://camo.githubusercontent.com/1ef1ce6affadbc5d7812ff443411827c4d7c31d085a27586eba222ac305bd40c/68747470733a2f2f7472617669732d63692e6f72672f6c656e6774686f66726f70652f6372656174652d6a736f6e6c642d74696e792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lengthofrope/create-jsonld-tiny) [![Codacy Badge](https://camo.githubusercontent.com/d9aea328e7da92f2142c839a32ada85cd638b19cf17c277c26ce809f882afe7c/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f67726164652f3639386536366237383265623436663561313939396430353138356635363336)](https://www.codacy.com/app/bdekort/create-jsonld-tiny)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#create-jsonld-tiny--)

Simple PHP library to create JSON-LD output. Tiny version!

Note: Datatypes are not yet supported

This is the TINY VERSION of the class, mainly there for the following schema's:

- Article,
- BlogPosting,
- Book,
- Code,
- Game,
- Movie,
- MusicRecording,
- Painting,
- Photograph,
- Recipe,
- Organization,
- Corporation,
- LocalBusiness,
- SportsOrganization,

Usage:

```
use \LengthOfRope\JSONLD;
use \LengthOfRope\JSONLD\Schema;

$Create = JSONLD\Create::factory()->add(
    Schema\BookSchema::factory()
        ->setAuthor(Schema\PersonSchema::factory()->setName("NAME")->setEmail("email@example.com"))
        ->setAbout("PHP")
        ->setName("Superb PHP Book")
        ->setAlternateName("Book one of three")
)->add(
    Schema\OrganizationSchema::factory()
        ->setAddress(
            Schema\PostalAddressSchema::factory()
                ->setPostalCode("1234 AA")
                ->setStreetAddress("Somewhere 12")
                ->setAddressCountry("NL")
                ->setAddressLocality("Amersfoort")
                ->setEmail("email@example.com")
                ->setTelephone("033-1234567")
                ->setAddressRegion("Utrecht")
        )
        ->setName("Devver Company")
        ->setDescription("Just another developer")
);

echo $Create->getJSONLDScript();
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~11 days

Total

6

Last Release

3741d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a3ef46ecb9be6ebff2ba0fe2679695a7e7829a2730d310ccca67aeab1ee8c815?d=identicon)[lengthofrope](/maintainers/lengthofrope)

---

Top Contributors

[![lengthofrope](https://avatars.githubusercontent.com/u/432399?v=4)](https://github.com/lengthofrope "lengthofrope (33 commits)")

---

Tags

JSON-LDjsonld

### Embed Badge

![Health badge](/badges/lengthofrope-create-jsonld-tiny/health.svg)

```
[![Health](https://phpackages.com/badges/lengthofrope-create-jsonld-tiny/health.svg)](https://phpackages.com/packages/lengthofrope-create-jsonld-tiny)
```

###  Alternatives

[ml/json-ld

JSON-LD Processor for PHP

3376.9M40](/packages/ml-json-ld)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[digitalbazaar/json-ld

A JSON-LD Processor and API implementation in PHP.

28658.1k1](/packages/digitalbazaar-json-ld)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[simialbi/yii2-schema-org

Schema.org yii2 representation and helpers for json-ld generation in Yii framework

18105.2k4](/packages/simialbi-yii2-schema-org)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
