← Tool directory
TOOL PROFILE

Spatie Schema Org

Build Schema.org entities and render JSON-LD from PHP application data.

Open source

Community support

Upvotes come from SearchEngineAnswer members. GitHub stars and reader reviews are counted separately.

Claim this tool if you maintain it.

Best for
Structured data
Setup required
PHP and Composer. Check the release constraints before installing.
Costs to check
Budget for application integration and validation. The generator runs locally.
License in catalog
MIT

GitHub repository

GitHub stars
1,509
Forks
145
Last push
2026-11-05
Primary language
PHP

GitHub snapshot from . Stars count GitHub bookmarks. Reader ratings appear separately below.

How to install Spatie Schema Org

  1. Add the package to a compatible project with composer require spatie/schema-org.
  2. Load the Composer autoloader and import the documented Spatie SchemaOrg Schema factory.

First tutorial for Spatie Schema Org

  1. Build a LocalBusiness entity from two verified fields and render the JSON-LD using the documented output method.
  2. Inspect the generated type and properties and compare them with the visible business information.

Official installation and usage documentation ↗

Where Spatie Schema Org fits

Use it to centralize JSON-LD generation across PHP page templates.

When to choose another tool
Use a small hand-written fixture for a single static page that needs no shared model.
First evaluation
Generate one LocalBusiness entity and compare its rendered name and URL with the visible page.
How to interpret the result
Fluent construction does not validate search feature eligibility or factual accuracy.

Reviews and discussion

Reader reviews

Be the first to share your experience with this tool.

Discussion

Ask a question or share a setup tip.

Write a review or join the discussion

Reviews should describe your own experience. All submissions are moderated.

Flag an outdated detail

Include the field that needs updating and a source link. Copy your draft, then use the corrections policy to contact the editorial team.