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.1.0(2mo ago)411.9k—0%9MITPHPPHP ^8.3CI passing

Since Oct 3Pushed 1mo 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)[ RSS](/packages/larament-seokit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (23)Versions (6)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)

[![Latest Version on Packagist](https://camo.githubusercontent.com/ede1c7ffbde7f6cdf7223382785066e4cba14f1efd414d83d20963b9b957e91b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6172616d656e742f73656f6b69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/larament/seokit)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f4c894f0fc726e2ad792aafdedc34eef8dcaec2ebe33307a112207b35ec9f512/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6172616d656e742f73656f6b69742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/larament/seokit/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/cfbc70a3af813a7efb884b1c26323e961f867f1ecfca52fa74328b7eff3948dd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6172616d656e742f73656f6b69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/larament/seokit)[![License](https://camo.githubusercontent.com/6b3d73f8861c6c81f3737f01fb5e01c4e363b14cab243cf3b89f0510b70f0f74/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c6172616d656e742f73656f6b69742e7376673f7374796c653d666c61742d737175617265)](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

50

—

FairBetter than 96% of packages

Maintenance87

Actively maintained with recent releases

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83% 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 ~37 days

Total

5

Last Release

78d 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 (44 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (8 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 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.

404.8k](/packages/devrabiul-laravel-seo-manager)[ralphjsmit/laravel-seo

A package to handle the SEO in any Laravel application, big or small.

841433.3k21](/packages/ralphjsmit-laravel-seo)[honeystone/laravel-seo

SEO metadata and JSON-LD package for Laravel.

34744.1k](/packages/honeystone-laravel-seo)[lionix/seo-manager

SEO Manager for Laravel Framework

2165.4k](/packages/lionix-seo-manager)[pedroborges/meta-tags

HTML meta tags generator for PHP.

4628.6k1](/packages/pedroborges-meta-tags)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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