PHPackages                             paladindigital/structured-data - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. paladindigital/structured-data

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

paladindigital/structured-data
==============================

Framework agnosting package to generate structured-data snippets in json-ld format.

v1.0.0(8y ago)011GPL-3.0PHPPHP &gt;=5.5.0

Since Dec 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/PaladinDigital/structured-data)[ Packagist](https://packagist.org/packages/paladindigital/structured-data)[ RSS](/packages/paladindigital-structured-data/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (0)

structured-data
===============

[](#structured-data)

A framework agnostic package to assist in creating valid Schema.org Json-LD.

[![Build Status](https://camo.githubusercontent.com/f587fdf5205943c3055360edabcc8954d6dd49ecd92624e09991f1954b348a27/68747470733a2f2f7472617669732d63692e6f72672f7461736b666f7263656465762f737472756374757265642d646174612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/taskforcedev/structured-data)

Installation
------------

[](#installation)

```
composer require paladindigital/structured-data

```

Usage
-----

[](#usage)

The package contains a class for each (implemented) schema.org type (if the type you desire isn't implemented feel free to raise a pull request or issue).

The package is used by feeding the classes into the appropriate heirarchy, you start with your desired type, then create a jsonld object and pass your custom type in the constructor. You then call render on your object in the appropriate place in your templates.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3105d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/67824c3c557abf0cb50a016dabacfc64c2af69b5cd765c2895445f21fb499ae0?d=identicon)[davidcraig](/maintainers/davidcraig)

---

Top Contributors

[![davidcraig](https://avatars.githubusercontent.com/u/11975187?v=4)](https://github.com/davidcraig "davidcraig (2 commits)")

---

Tags

structured-dataschema.orgrich-snippets

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/paladindigital-structured-data/health.svg)

```
[![Health](https://phpackages.com/badges/paladindigital-structured-data/health.svg)](https://phpackages.com/packages/paladindigital-structured-data)
```

###  Alternatives

[brotkrueml/schema

Embedding schema.org vocabulary - API and view helpers for schema.org markup

34628.4k14](/packages/brotkrueml-schema)[melbahja/seo

SEO library for PHP is a simple PHP library to help developers 🍻 do better on-page SEO optimizations.

358153.6k7](/packages/melbahja-seo)[torann/json-ld

Extremely simple JSON-LD markup generator.

149634.7k1](/packages/torann-json-ld)[brick/schema

Schema.org library for PHP

5173.1k1](/packages/brick-schema)[bramdeleeuw/silverstripe-schema

Add schema to a Silverstripe page

109.2k2](/packages/bramdeleeuw-silverstripe-schema)[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)
