PHPackages                             larament/seokit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. larament/seokit

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

larament/seokit
===============

A complete SEO package for Laravel, covering everything from meta tags to social sharing and structured data.

v1.5.0(1mo ago)452.8k—4.2%10[2 PRs](https://github.com/larament/seokit/pulls)MITPHPPHP ^8.3CI passing

Since Oct 3Pushed 1w agoCompare

[ Source](https://github.com/larament/seokit)[ Packagist](https://packagist.org/packages/larament/seokit)[ Docs](https://github.com/larament/seokit)[ GitHub Sponsors](https://github.com/iRaziul)[ Patreon](https://www.patreon.com/raziul)[ RSS](/packages/larament-seokit/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (8)Dependencies (33)Versions (13)Used By (0)

[![A Clean SEO Toolkit for Laravel](assets/cover.svg)](assets/cover.svg)

Technical SEO made easy in Laravel.
===================================

[](#technical-seo-made-easy-in-laravel)

[![Laravel Compatibility](https://camo.githubusercontent.com/7674613177e5ea107bbd6c4ed70b42febe82e8480b1434c8b61d76a0a5de0100/68747470733a2f2f62616467652e6c61726176656c2e636c6f75642f62616467652f6c6172616d656e742f73656f6b69743f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/larament/seokit)[![Latest Version on Packagist](https://camo.githubusercontent.com/a19ca717fb8f1ffdad9caef049a3f0f88e75d45bd79fd8870bdf0990ba29899b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6172616d656e742f73656f6b69742e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/larament/seokit)[![GitHub Tests Action Status](https://camo.githubusercontent.com/e060f98b3264a92b696397acc232045086aaefbf7da4561cce95d8a4547bf726/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6172616d656e742f73656f6b69742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666f722d7468652d6261646765)](https://github.com/larament/seokit/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/dc9b21e21d3517290e0e2564649c399dfc0be74fb18a1fcd5ab28d7b2c4a2613/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6172616d656e742f73656f6b69742e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/larament/seokit)[![License](https://camo.githubusercontent.com/534c43bd8eb351293c7aa7119f6b2414058b7d9f30a76d2c7e9f8bb93d56aabf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c6172616d656e742f73656f6b69742e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/larament/seokit)

SeoKit is a Laravel SEO toolkit for managing meta tags, Open Graph data, Twitter cards, and JSON-LD from one consistent API.

It is designed for applications that need a practical SEO layer without stitching together multiple packages or scattering metadata logic across controllers, models, and views.

Highlights
----------

[](#highlights)

- Complete SEO coverage for meta tags, Open Graph, Twitter cards, and JSON-LD structured data
- Clean Laravel integration through a facade, Blade directive, install command, and model traits
- Flexible data flow with support for computed SEO data and database-backed SEO records
- Polymorphic model SEO support for managing metadata separately from your domain models
- Built-in caching and sensible defaults to reduce repetitive setup and unnecessary queries
- Designed for modern Laravel applications, with automated test coverage for Laravel 11, 12, and 13

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 11+

Installation
------------

[](#installation)

Install the package with Composer:

```
composer require larament/seokit
```

Publish the package assets with the installer command:

```
php artisan seokit:install
```

If you prefer to publish assets manually:

```
php artisan vendor:publish --tag="seokit-config"
php artisan vendor:publish --tag="seokit-migrations"
php artisan migrate
```

Quick Start
-----------

[](#quick-start)

Set page metadata in your controller:

```
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'));
}
```

Render the tags in your layout:

```

    @seoKit

```

For model-driven SEO, SeoKit also provides `HasSeo` and `HasSeoData` traits.

Documentation
-------------

[](#documentation)

Detailed documentation lives in the GitHub wiki:

- [Getting Started](../../wiki)
- [Core Concepts](../../wiki/Core-Concepts)
- [Advanced SEO Management](../../wiki/Advanced-SEO-Management)
- [Database-Backed SEO](../../wiki/Database-Backed-SEO)
- [Cookbooks and Examples](../../wiki/Cookbooks-and-Examples)

The README is intentionally kept short. The wiki should be the source of truth for package guides, examples, and feature-specific documentation.

Development
-----------

[](#development)

Run the test suite:

```
composer test
```

Run static analysis:

```
composer analyse
```

Format the codebase:

```
composer format
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Contributions are welcome. Please open an issue or submit a pull request if you want to improve the package.

Security
--------

[](#security)

Please review [the security policy](../../security/policy) for reporting vulnerabilities.

Credits
-------

[](#credits)

- [Raziul Islam](https://github.com/iRaziul)
- [All Contributors](../../contributors)

License
-------

[](#license)

SeoKit is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

53

—

FairBetter than 96% of packages

Maintenance94

Actively maintained with recent releases

Popularity35

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~25 days

Recently: every ~12 days

Total

10

Last Release

46d ago

Major Versions

v0.2 → v1.02025-10-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/c371b774feadb3bfc182f9309ab6aeac6789b993ac63a213fe3aca070f95100d?d=identicon)[Raziul](/maintainers/Raziul)

---

Top Contributors

[![iRaziul](https://avatars.githubusercontent.com/u/51883557?v=4)](https://github.com/iRaziul "iRaziul (57 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

laravellaravel-seometatagsopengraphseoseo-optimizationseo-toolsseokitlaravellaravel-packageJSON-LDseostructured-dataschema-orgopen-graphmeta-tagstwitter cardslaravel-seosearch engine optimizationseo managerSEO Toolsseo-optimizationsocial-sharingseokitseo-kitseo-helperseo-integrationweb-seo

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/larament-seokit/health.svg)

```
[![Health](https://phpackages.com/badges/larament-seokit/health.svg)](https://phpackages.com/packages/larament-seokit)
```

###  Alternatives

[devrabiul/laravel-seo-manager

Laravel SEO Manager is an SEO tool that improves SEO by adding recommended meta tags.

396.7k](/packages/devrabiul-laravel-seo-manager)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
