Registry / serialization / spatie-schema-org

spatie-schema-org

JSON →
library4.0.2phppackagistunverified

A fluent builder for Schema.org types and ld+json generator.

composer require spatie/schema-org
INSTALL
IMPORT
SIG · SPATIE-SCHEMA-ORG
S
spatie-schema-org
serializationphpv4.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Schema
use Spatie\SchemaOrg\Schema;

Generate ld+json structured data for a local business.

use Spatie\SchemaOrg\Schema; $schema = Schema::localBusiness() ->name('My Shop') ->url('https://example.com'); echo $schema->toScript();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.0.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
spatie-schema-org — pip install spatie-schema-org · libregistry