PHPackages                             gabrieliuga/laravel-seo-meta-box - 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. gabrieliuga/laravel-seo-meta-box

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

gabrieliuga/laravel-seo-meta-box
================================

Add SEO capabilities to your website

v1.0.4(4y ago)0291MITPHPPHP ^7.4|^8.0

Since Jan 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/gabrieliuga/laravel-seo-meta-box)[ Packagist](https://packagist.org/packages/gabrieliuga/laravel-seo-meta-box)[ Docs](https://github.com/gabrieliuga/laravel-seo-meta-box)[ RSS](/packages/gabrieliuga-laravel-seo-meta-box/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (1)

Add seo capabilities to your Laravel application
================================================

[](#add-seo-capabilities-to-your-laravel-application)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7b1a36ce60599686d40c0f7bd5e06f3bd2fb71876f9ed0335d5eaba865cc2891/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6761627269656c697567612f6c61726176656c2d73656f2d6d6574612d626f782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gabrieliuga/laravel-seo-meta-box)[![Build Status](https://camo.githubusercontent.com/5d3f0ec98ea1567065fd9c4a0426d19fa804607ae0e68e976cfb9900b2e3a22f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6761627269656c697567612f6c61726176656c2d73656f2d6d6574612d626f782f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/gabrieliuga/laravel-seo-meta-box)[![Quality Score](https://camo.githubusercontent.com/f0337b33944228e96e3df2725c0434a265b7a1a28ec8a200d6655702196221b0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6761627269656c697567612f6c61726176656c2d73656f2d6d6574612d626f782e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/gabrieliuga/laravel-seo-meta-box)[![StyleCI](https://camo.githubusercontent.com/01bb3bc9eced2eab938ea3a321e5740f99efaf9b9639f0c63e9ebd8e7892f3cf/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3233343432373831302f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/234427810)[![Total Downloads](https://camo.githubusercontent.com/9ee76706641cf108bdcc203f2856c7823c94d5085a7113ea4d4fed088ed9b82d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6761627269656c697567612f6c61726176656c2d73656f2d6d6574612d626f782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/gabrieliuga/laravel-seo-meta-box)

Adds ability to create custom titles / description on a per page basis. Includes usage of Twitter handles and Open Graph data for social sharing.

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

[](#installation)

You can install the package via composer:

```
composer require gabrieliuga/laravel-seo-meta-box
```

Usage
-----

[](#usage)

```
artisan migrate

artisan vendor:publish --tag=metabox-config
```

```
/**
* Manual entry
*/
Seo::create([
    'slug' => '/', //this is the page route
    'title' => 'Super special application',
    'description' => 'My super special application that does x',
    'type' => 'page'
]);

/**
* Model based generator
*/

use Giuga\LaravelSeoMetaBox\Traits\HasSeo;
use Giuga\LaravelSeoMetaBox\Traits\SeoOptions;
use Illuminate\Database\Eloquent\Model;

class Page extends Model
{
    use HasSeo;

    public function getSeoOptions(): SeoOptions
    {
        return SeoOptions::create()
            ->setSlugField('slug') // optional
            ->setRoutePrefix('/page/') // optional
            ->setTitleField('name') // optional
            ->setDescriptionField('short_description') // optional
            ->setOverwriteOnUpdate(); // optional
    }
}
```

Change your application layout to include @metabox blade component

```

    @metabox

```

The output will be (with all options enabled)

```
    Super special application - Application Name

```

### Testing

[](#testing)

```
phpunit
```

### View Customise

[](#view-customise)

If you want to customize the output in any way, you can do so by publishing the view:

```
artisan vendor:publish --tag=metabox-views
```

### Changelog

[](#changelog)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Gabriel Iuga](https://github.com/gabrieliuga)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~132 days

Total

5

Last Release

1777d ago

PHP version history (2 changes)v1.0.0PHP ^7.4

v1.0.4PHP ^7.4|^8.0

### Community

Maintainers

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

---

Top Contributors

[![gabrieliuga](https://avatars.githubusercontent.com/u/2194501?v=4)](https://github.com/gabrieliuga "gabrieliuga (12 commits)")

---

Tags

laravelseometalaravel-seo-meta-box

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gabrieliuga-laravel-seo-meta-box/health.svg)

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

###  Alternatives

[zoha/laravel-meta

a package for working with models meta

236121.7k](/packages/zoha-laravel-meta)[lionix/seo-manager

SEO Manager for Laravel Framework

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

A package to manage SEO (meta-tags, xml-fields, etc.)

3028.9k](/packages/fomvasss-laravel-meta-tags)[digitaldream/laravel-seo-tools

Laravel Seo package for Content writer/admin/web master who do not know programming but want to edit/update SEO tags from dashboard

1558.4k](/packages/digitaldream-laravel-seo-tools)[calotype/seo

A package containing SEO helpers.

722.6k](/packages/calotype-seo)[vinicius73/seotools

A package containing SEO helpers.

245.2k](/packages/vinicius73-seotools)

PHPackages © 2026

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