PHPackages                             eder/jsonid - 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. eder/jsonid

ActivePackage[API Development](/categories/api)

eder/jsonid
===========

PHP Laravel JSON ID

081[5 PRs](https://github.com/faneder/json-ld-laravel/pulls)PHP

Since Aug 14Pushed 4y ago2 watchersCompare

[ Source](https://github.com/faneder/json-ld-laravel)[ Packagist](https://packagist.org/packages/eder/jsonid)[ RSS](/packages/eder-jsonid/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (5)Used By (0)

json-ld-laravel
===============

[](#json-ld-laravel)

A Simple Way To Generate The JSON LD

Configure
---------

[](#configure)

```
Setting up you information on config/jsonLd.php

```

Example
-------

[](#example)

### SearchAction

[](#searchaction)

```
$this->jsonLd = new JsonLd;

$context = ['@context' => 'http://schema.org'];
$type	 = ['@type' => 'WebSite'];
$data    = [
	'url' => $this->companyUrl,
  	'potentialAction' => [
	    '@type' 	  => 'SearchAction',
	    'target'	  => 'https://www.bookmarc.com.au/au/search/{search_term_string}',
	    'query-input' => 'required name=search_term_string'
	]
];

```

### socialProfile

[](#socialprofile)

```
$this->jsonLd = new JsonLd;

$context = ['@context' => 'http://schema.org'];
$type	 = ['@type' => 'Organization'];
$data    = [
	'url' => $this->companyUrl,
  	'sameAs' => config('companyInfo.socialProfile')
];

$script = $this->jsonLd
			->context($context)
			->type($type)
			->data($data)
			->getScriptJsonLd();

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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.

### Community

Maintainers

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

---

Tags

json-ldlaravelphp

### Embed Badge

![Health badge](/badges/eder-jsonid/health.svg)

```
[![Health](https://phpackages.com/badges/eder-jsonid/health.svg)](https://phpackages.com/packages/eder-jsonid)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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