PHPackages                             yarmat/laravel-seo - 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. yarmat/laravel-seo

Abandoned → [yarmat/laravel-seo](/?search=yarmat%2Flaravel-seo)Library[Utility &amp; Helpers](/categories/utility)

yarmat/laravel-seo
==================

Package for using seo fields. (Laravel, Eloquent)

029PHP

Since Jan 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/yarmat/laravel-seo)[ Packagist](https://packagist.org/packages/yarmat/laravel-seo)[ RSS](/packages/yarmat-laravel-seo/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Laravel-seo
-----------

[](#laravel-seo)

Package for using seo fields (Title, Description, Keywords) in your Eloquent Model.

Installing
----------

[](#installing)

```
composer require yarmat/laravel-seo
```

You must publish the migration with:

```
php artisan vendor:publish --provider="Yarmat\Seo\SeoServiceProvider" --tag="migrations"
```

After the migration has been published you can create seos-tables by running the migrations:

```
php artisan migrate
```

Usage
-----

[](#usage)

First, add the Yarmat\\Seo\\Traits\\HasSeoTrait trait to your model(s):

```
use Illuminate\Database\Eloquent\Model;
use Yarmat\Seo\Traits\HasSeoTrait;

class Blog extends Model
{
    use HasSeoTrait;
}
```

A Seo fields can be added to your model:

```
$blog->saveSeo([
    'title'       => 'Title',
    'description' => 'Description',
    'keywords'    => 'Keywords'
]);
```

A Seo fields can be deleted from your model:

```
$blog->deleteSeo();
```

Get the Seo fields

```
$blog->seo->title; // if seo.title not added to this model returned null
$blog->seo->description; // if seo.description not added to this model returned null
$blog->seo->keywords; // if seo.keywords not added to this model returned null
```

If you wont to use your own Model
---------------------------------

[](#if-you-wont-to-use-your-own-model)

You must publish the config with:

```
php artisan vendor:publish --provider="Yarmat\Seo\SeoServiceProvider" --tag="config"
```

After publishing edit config file seo.php

```
return [
    'model' => App\Seo.php // f.e.
];
```

Extend your model

```
use Yarmat\Seo\Models\Seo as Model;

class Seo extends Model
{
}
```

License
-------

[](#license)

The Laravel-seo is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

[![yarmat](https://avatars.githubusercontent.com/u/16940233?v=4)](https://github.com/yarmat "yarmat (9 commits)")

### Embed Badge

![Health badge](/badges/yarmat-laravel-seo/health.svg)

```
[![Health](https://phpackages.com/badges/yarmat-laravel-seo/health.svg)](https://phpackages.com/packages/yarmat-laravel-seo)
```

###  Alternatives

[joy2362/php-time-zone

A simple package that provide list of all timezone that php support

162.0k](/packages/joy2362-php-time-zone)

PHPackages © 2026

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