PHPackages                             migvitram/yii2-ld-json - 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. migvitram/yii2-ld-json

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

migvitram/yii2-ld-json
======================

Widget for ld-json markup

v0.0.1(5y ago)04MITPHP

Since Feb 14Pushed 5y ago1 watchersCompare

[ Source](https://github.com/migvitram/yii2-ld-json)[ Packagist](https://packagist.org/packages/migvitram/yii2-ld-json)[ RSS](/packages/migvitram-yii2-ld-json/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Simple ld-json widget for Yii2
==============================

[](#simple-ld-json-widget-for-yii2)

Widget to add ld-json micro markup to head of HTML document (or on the page).

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist migvitram/yii2-ld-json "*"

```

or add

```
"migvitram/yii2-ld-json": "*"

```

to the require-dev section of your `composer.json` file.

Usage
-----

[](#usage)

If it is needed only widget, it is need to add to the main template layout:

```
use migvitram\ldJson\JsonLDWidget;

```

It will make json data output. And than add the next, everywhere

```

```

In case JsonLD module needed, modify the web.php config file, modules section:

```
 'modules' => [
    ...
    'ldJson' => [
        'class' => 'migvitram\ldJson\...',
    ]
 ]
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

1913d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/562d20910dd31f212a7924af4d501f4e8db31b8d45c6c21809407bb99d64c890?d=identicon)[migvitram](/maintainers/migvitram)

---

Top Contributors

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

---

Tags

yii2extensionld-json

### Embed Badge

![Health badge](/badges/migvitram-yii2-ld-json/health.svg)

```
[![Health](https://phpackages.com/badges/migvitram-yii2-ld-json/health.svg)](https://phpackages.com/packages/migvitram-yii2-ld-json)
```

###  Alternatives

[vyants/yii2-daemon

Extension provides functionality for simple daemons creation and control

7859.0k](/packages/vyants-yii2-daemon)[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1357.2k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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