PHPackages                             dovaldev/filament-simple-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. dovaldev/filament-simple-seo

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

dovaldev/filament-simple-seo
============================

A simple way to integrate a filament seo table to your app.

v2.0.1(5mo ago)07MITPHPPHP ^8.2

Since Jan 23Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/dovaldev/filament-simple-seo)[ Packagist](https://packagist.org/packages/dovaldev/filament-simple-seo)[ Docs](https://github.com/dovaldev/filament-simple-seo)[ RSS](/packages/dovaldev-filament-simple-seo/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (13)Versions (5)Used By (0)

A simple way to integrate a filament seo table to your app.
===========================================================

[](#a-simple-way-to-integrate-a-filament-seo-table-to-your-app)

Compatibilidad
--------------

[](#compatibilidad)

- PHP `^8.2`
- Laravel `^12.0`
- Filament `^4.0`

Uso con Filament v4 (Panel Plugin)
----------------------------------

[](#uso-con-filament-v4-panel-plugin)

Registra el plugin en tu Panel para que el recurso "SEO" se añada automáticamente al menú:

```
use Dovaldev\FilamentSimpleSeo\FilamentSimpleSeoPlugin;

// Dentro de tu builder de Panel
$panel->plugins([
    FilamentSimpleSeoPlugin::make(),
]);
```

Tras registrarlo, verás el grupo de navegación "SEO" con el CRUD listo (listar, crear y editar).

```
/** SEO */
Forms\Components\Section::make('SEO')
    ->description('Add the SEO data to your model')
    ->relationship('seo')
    ->collapsed()
    ->collapsible()
    ->schema([
        Forms\Components\TextInput::make('title')
            ->maxLength(255),
        Forms\Components\TextInput::make('description')
            ->maxLength(255),
        Forms\Components\Fieldset::make('Estado')
            ->schema([
                Forms\Components\Toggle::make('index')->default(true),
            Forms\Components\Toggle::make('follow')->default(true),
            Forms\Components\Toggle::make('status')->default(true),
        ])
        ->columns(3),
]),
```

[![Latest Version on Packagist](https://camo.githubusercontent.com/6764017f5e2d350c3b44876ac4953357b3a0c5f0e950d8f5191d766d337ba1d4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f76616c6465762f66696c616d656e742d73696d706c652d73656f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dovaldev/filament-simple-seo)[![GitHub Tests Action Status](https://camo.githubusercontent.com/7fafd2114f92a30738794c9d955269a32047ced7ffaf6cd3329585c68b01335f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f76616c6465762f66696c616d656e742d73696d706c652d73656f2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/dovaldev/filament-simple-seo/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/a4ef561f83c01427c4703d2b4d0a59b442d2cb2abba49204d4c36141349f582b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f646f76616c6465762f66696c616d656e742d73696d706c652d73656f2f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/dovaldev/filament-simple-seo/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/406b3e536a58bc6fff3c80d0f730fbf93428990fd2d9e5bb04553afdf57b0116/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646f76616c6465762f66696c616d656e742d73696d706c652d73656f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dovaldev/filament-simple-seo)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require dovaldev/filament-simple-seo
```

You can publish and run the migrations with:

```
php artisan filament-simple-seo
php artisan migrate
```

You can publish the config file with:

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

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-simple-seo-views"
```

This is the contents of the published config file:

```
return [
];
```

Adding SEO to User Model
------------------------

[](#adding-seo-to-user-model)

To add SEO to the User model, add the following method to the User model:

```
use Dovaldev\FilamentSimpleSeo\Models\Seo;

/**
 * Get the SEO data for the user.
 */
public function seo() {
    return $this->morphOne(Seo::class, 'seoable');
}
```

Opcional: Campos SEO en tus formularios
---------------------------------------

[](#opcional-campos-seo-en-tus-formularios)

Si además quieres mostrar/editar los campos SEO dentro de tus propios recursos de Filament, puedes añadir una sección como esta a tu `Form`:

```
/** SEO */
Forms\Components\Section::make('SEO')
    ->description('Add the SEO data to your model')
    ->relationship('seo')
    ->collapsed()
    ->collapsible()
    ->schema([
        Forms\Components\TextInput::make('title')
            ->maxLength(255),
        Forms\Components\TextInput::make('description')
            ->maxLength(255),
        Forms\Components\Fieldset::make('Estado')
            ->schema([
                Forms\Components\Toggle::make('index')->default(true),
                Forms\Components\Toggle::make('follow')->default(true),
                Forms\Components\Toggle::make('status')->default(true),
            ])
            ->columns(3),
    ]);
```

Nota de migración
-----------------

[](#nota-de-migración)

- La tabla `seos` ahora incluye clave primaria `id` y columnas polimórficas mediante `morphs('seoable')` para compatibilidad completa con Eloquent y el CRUD.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [J.A. Doval](https://github.com/dovaldev)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance70

Regular maintenance activity

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

3

Last Release

174d ago

Major Versions

v0.0.2 → v2.0.02025-11-19

PHP version history (2 changes)v0.0.2PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/5d979be4a86da9524c92f9da056ee4dd7680d82f8031939ac7f30a54a6dc9020?d=identicon)[dovaldev](/maintainers/dovaldev)

---

Top Contributors

[![dovaldev](https://avatars.githubusercontent.com/u/73448899?v=4)](https://github.com/dovaldev "dovaldev (11 commits)")

---

Tags

laraveldovaldevfilament-simple-seo

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/dovaldev-filament-simple-seo/health.svg)

```
[![Health](https://phpackages.com/badges/dovaldev-filament-simple-seo/health.svg)](https://phpackages.com/packages/dovaldev-filament-simple-seo)
```

###  Alternatives

[guava/calendar

Adds support for vkurko/calendar to Filament PHP.

298241.0k3](/packages/guava-calendar)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[jibaymcs/filament-tour

Bring the power of DriverJs to your Filament panels and start a tour !

12247.8k](/packages/jibaymcs-filament-tour)[marcelweidum/filament-expiration-notice

Customize the livewire expiration notice

9169.0k4](/packages/marcelweidum-filament-expiration-notice)[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)[outerweb/filament-settings

Filament integration for the outerweb/settings package

3690.9k4](/packages/outerweb-filament-settings)

PHPackages © 2026

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