spatie/schema-org
Fluent PHP builder for the full Schema.org vocabulary. Create Schema.org types and properties via chainable methods and output valid JSON-LD/ld+json scripts for SEO. Auto-generated from Schema.org standards for complete coverage.
Product, Offer, and AggregateRating for Google Shopping.LocalBusiness, OpeningHours, and GeoCoordinates for maps/knowledge panels.Article, Breadcrumb, or FAQPage to blogs/news sites.Event or MusicEvent with dates/locations for SERP prominence.HotelRoom or Service).Organization → Person → JobPosting).Adopt if:
Product that’s also a Service).Look elsewhere if:
@jsonld/react or @schemaorg/jsonld).*"This package lets us automate structured data for SEO without custom dev work. For example:
Product/Offer markup to boost Google Shopping listings.LocalBusiness data to dominate ‘near me’ searches.Article/FAQ schemas to improve click-through rates.
It’s maintenance-free (updates with Schema.org) and scalable—ideal for our roadmap to expand into [target markets]."*ROI: Reduced dev time, higher SERP visibility, and compliance with search engine guidelines.
*"This is a fluent, zero-boilerplate way to generate Schema.org JSON-LD in PHP/Laravel. Key features:
$schema->product()->name()->price().Organization → Person).Product + HotelRoom.toScript() to prevent injection (fixed in v4.0.2).Trade-offs:
Recommendation: Use for dynamic pages (e.g., product/event templates). For static sites, hardcode JSON-LD."*
Example Pitch Email Snippet:
"Hi [Team], *To accelerate our [SEO/e-commerce/local] goals, I’m proposing we adopt
spatie/schema-orgto automate structured data. It’s a Laravel-native, battle-tested package that handles Schema.org markup fluently—saving dev time while ensuring compliance. For [use case], it would let us [specific benefit, e.g., ‘auto-generate Product schemas for all listings’] with minimal effort. Let’s discuss in the next standup—I’ll share a prototype for [specific page type]."
How can I help you explore Laravel packages today?