Skip to content

SeoKitTechnical SEO Made Easy in Laravel

A unified, elegant toolkit for Meta Tags, Open Graph, Twitter Cards, Schema JSON-LD, and Database-backed SEO.

Why SeoKit?

Managing SEO in modern Laravel applications often means stitching together multiple single-purpose packages, maintaining repetitive Blade templates, or scattering raw <meta> tags across controllers, models, and views.

SeoKit solves this with a single, expressive API:

php
use Larament\SeoKit\Facades\SeoKit;

public function show(Post $post)
{
    SeoKit::title($post->title)
        ->description($post->excerpt)
        ->image($post->featured_image)
        ->canonical(route('posts.show', $post));

    return view('posts.show', compact('post'));
}
blade
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    {{-- Generates Meta Tags, OpenGraph, Twitter Cards, and JSON-LD --}}
    @seoKit

</head>
<body>
    @yield('content')
</body>
</html>
php
use Illuminate\Database\Eloquent\Model;
use Larament\SeoKit\Concerns\HasSeo;

class Post extends Model
{
    use HasSeo; 
}

// Access or attach SEO data directly
$post->seo()->updateOrCreate([], [
    'title' => 'Custom Search Title',
    'description' => 'Fine-tuned search snippet',
    'og_image' => 'marketing/og-banner.jpg',
]);

Released under the MIT License.