-
-
Notifications
You must be signed in to change notification settings - Fork 10
JSON LD Structured Data
iRaziul edited this page Mar 22, 2026
·
1 revision
Use SeoKit::jsonld() for schema markup.
SeoKit::jsonld()->add([
'@context' => 'https://schema.org',
'@type' => 'Event',
'name' => 'SeoKit Launch Webinar',
]);SeoKit includes:
website()organization()person()article()blogPosting()product()localBusiness()
SeoKit::jsonld()->website([
'url' => config('app.url'),
'name' => config('app.name'),
]);
SeoKit::jsonld()->organization([
'name' => config('app.name'),
'url' => config('app.url'),
'logo' => asset('images/logo.png'),
]);SeoKit::jsonld()->article([
'headline' => $post->title,
'description' => $post->excerpt,
'image' => $post->featured_image,
]);⭐ Star SeoKit on GitHub if you find it useful. It helps more Laravel developers discover the package.
If you are looking for help with Laravel, package integration, or custom web solutions, feel free to reach out: raziul.dev