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

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

lodeb/laravel-seo
=================

SEO package for Laravel

1.0.1(4mo ago)06MITPHPPHP ^8.3CI failing

Since Jan 4Pushed 4mo agoCompare

[ Source](https://github.com/Lodebossuyt/Laravel-SEO)[ Packagist](https://packagist.org/packages/lodeb/laravel-seo)[ Docs](https://github.com/lodeb/laravel-seo)[ GitHub Sponsors](https://github.com/lodeb)[ RSS](/packages/lodeb-laravel-seo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (3)Used By (0)

SEO package for Laravel
=======================

[](#seo-package-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f4b54ea36f7d79c152e6b9e59dc5e6a94016edd31fe6aed1d3f45b3047119a2a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6465622f6c61726176656c2d73656f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lodeb/laravel-seo)[![GitHub Tests Action Status](https://camo.githubusercontent.com/75c03b2f7e20023d8b7b5a0e84b5789c7926783553686d1cf147df267040b45b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6f6465622f6c61726176656c2d73656f2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/lodeb/laravel-seo/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4e8e3d845267621b5a688e77c2df2b85f4766184cb8c4be2cd91c73aed5fd2a1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c6f6465622f6c61726176656c2d73656f2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/lodeb/laravel-seo/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/d0e11145ead0544eb0693c2d547b195f4b01b205a888878d8d30da8595b6f458/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6465622f6c61726176656c2d73656f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lodeb/laravel-seo)

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

[](#installation)

You can install the package via composer:

```
composer require lodeb/laravel-seo
```

You can publish the config file with:

```
php artisan vendor:publish --tag="seo-config"
```

This is the contents of the published config file:

```
return [
    'default_title' => 'My Awesome Website',
    'default_description' => 'This is the best website ever built with Laravel SEO package.',
    'default_keywords' => ['laravel', 'seo', 'package', 'awesome'],
    'default_author' => 'Your Name',
    'default_robots' => 'index, follow',

    'set_canonical_url' => true,
    'set_og_tags' => true,
    'set_twitter_cards' => true,
];
```

Usage
-----

[](#usage)

There is a singelton SEO Class. Set the SEO tags you want to generate.

```
\Lodeb\SEO\Facades\SEO::setTitle($this->meta_title);
\Lodeb\SEO\Facades\SEO::setDescription($this->meta_description);
\Lodeb\SEO\Facades\SEO::setKeywords(explode(',', $this->meta_keywords));
\Lodeb\SEO\Facades\SEO::setAuthor($this->meta_author);
\Lodeb\SEO\Facades\SEO::setRobots($this->meta_robots);
```

// App.blade

```
{!! \Lodeb\SEO\Facades\SEO::generate() !!}
```

Credits
-------

[](#credits)

- [Lode Bossuyt](https://github.com/lodeb)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance77

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

125d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82a10b9b2f77338c4b2e20bd4ee17497631874fcce012a55becbafe6d85b7134?d=identicon)[Lodeb](/maintainers/Lodeb)

---

Top Contributors

[![Lodebossuyt](https://avatars.githubusercontent.com/u/90692977?v=4)](https://github.com/Lodebossuyt "Lodebossuyt (10 commits)")

---

Tags

laravellaravel-seoLodeb

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M626](/packages/spatie-laravel-data)[ralphjsmit/laravel-seo

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

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

An event sourcing package that feels nice.

513162.9k6](/packages/hirethunk-verbs)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)

PHPackages © 2026

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