PHPackages                             littleboy130491/seo-suite - 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. littleboy130491/seo-suite

ActiveLibrary

littleboy130491/seo-suite
=========================

SEO Suite for FilamentPHP: Easily integrate and manage SEO features in your Filament projects

02.4k↓100%PHP

Since Jun 13Pushed 11mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

SEO Suite for FilamentPHP: Easily integrate and manage SEO features in your Filament projects
=============================================================================================

[](#seo-suite-for-filamentphp-easily-integrate-and-manage-seo-features-in-your-filament-projects)

This project is a fork of . It inherits the core functionalities from the original repository, with additional customizations and improvements.

[![Latest Version on Packagist](https://camo.githubusercontent.com/5e3371492cd71431b4bd38dcdda180badd92b7c5efbed171be01e562a90b4c28/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616661746d7573746166612f73656f2d73756974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/afatmustafa/seo-suite)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c7140e03256207da882ee379ce51460621fd45fd459dc6d2c4492b0add993190/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616661746d7573746166612f73656f2d73756974652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/afatmustafa/seo-suite/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/e3981de304742e214e4c5a66c6fa9cff150206dfc44a2f60970b8655e69a7068/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616661746d7573746166612f73656f2d73756974652f6669782d7068702d636f64652d7374796c696e672e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/afatmustafa/seo-suite/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/af6901d05a99569a6ec33b0e8e17dd9852b6b58a3b10eab2d9f54c738503246f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616661746d7573746166612f73656f2d73756974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/afatmustafa/seo-suite)

Elevate your Filament project with SEO Suite, leveraging the artesaos/seotools package for enhanced search engine optimization. This package allows you to seamlessly integrate and manage SEO features, making your project more search engine friendly. [![SEO Suite](https://camo.githubusercontent.com/4f4dd6854494eb7acdb65f9e812eea50eae25cd1d1ce1f1576f7081e93e24e7c/68747470733a2f2f616661742e6d652f70726f6a656374732f73656f2d73756974652d70726f2f6172742f636f7665722e6a7067)](https://camo.githubusercontent.com/4f4dd6854494eb7acdb65f9e812eea50eae25cd1d1ce1f1576f7081e93e24e7c/68747470733a2f2f616661742e6d652f70726f6a656374732f73656f2d73756974652d70726f2f6172742f636f7665722e6a7067)

Features
--------

[](#features)

- Ready-to-use form component: Easily add SEO settings to your resources.
- Set title and meta tags: Quickly configure title and meta tags.
- Social media integration: Support for Twitter Cards and Open Graph.
- Multiple open graph types: Supports 3 open graph types: article, book, profile.
- Multiple twitter card types: Supports 4 twitter card types: summary, summary\_large\_image, app, player.
- Fallback ready: Ensures robust default values.
- Ready-to-translate: Supports multiple languages.

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

[](#installation)

```
composer require littleboy130491/seo-suite
```

> **Note**: This package uses artesaos/seotools behind the scenes, you may also need to follow the [installation](https://github.com/artesaos/seotools#installation) steps there.

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="seo-suite-migrations"
php artisan migrate
```

You can publish the config file with (optional):

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

This is the contents of the published config file:

```
return [
    /**
     * Override the SEO Model to perform custom actions.
     */
    'model' => \Littleboy130491\SeoSuite\Models\SeoSuite::class,
    'table_name' => 'seo_suite',

    /*
    |--------------------------------------------------------------------------
    | Enabled features.
    | If you want to disable a feature, set it to false.
    |--------------------------------------------------------------------------
    */
    'features' => [
        'general' => [
            'enabled' => true,
            'fields' => [
                'title' => true,
                'description' => true,
            ],
        ],
        'advanced' => [
            'enabled' => true,
            'fields' => [
                'canonical' => true,
                'noindex' => true,
                'nofollow' => true,
                'metas' => true,
            ],
        ],
        'opengraph' => [
            'enabled' => true,
            'fields' => [
                'og_title' => true,
                'og_description' => true,
                'og_type' => true,
                'og_properties' => true,
            ],
        ],
        'x' => [
            'enabled' => true,
            'fields' => [
                'x_card_type' => true,
                'x_title' => true,
                'x_site' => true,
            ],
        ],
    ],
    // SEO fallbacks
    'fallbacks' => [
        'title' => 'title',
        'description' => 'description',
        'og_type' => 'article',
    ],
];
```

Optionally, you can publish the translations using

```
php artisan vendor:publish --tag="seo-suite-translations"
```

The package currently supports both English and Turkish languages. If you want to add a new language, feel free to create a PR.

Usage
-----

[](#usage)

### In Your Model

[](#in-your-model)

First, you need to add the `Littleboy130491\SeoSuite\Models\Traits\InteractsWithSeoSuite` trait to your model.

If you want to edit your SEO Fallbacks on a model basis, you can edit them by adding a property called `$seoFallbacks` to your model.

```
// App/Models/Page.php
class Page extends Model {

    use Littleboy130491\SeoSuite\Models\Traits\InteractsWithSeoSuite;

     protected ?array $seoFallbacks = [
        'title' => 'name',
        'description' => 'excerpt'
    ];
}
```

### In Your Resource

[](#in-your-resource)

To use the form component, you can add `\Littleboy130491\SeoSuite\SeoSuite::make()` function into your resource.

```
// App\Filament\Resources\PageResource.php
class PageResource extends Resource
{
...
    public static function form(Form $form): Form
    {
        return $form
            ->schema([
            ...
               Forms\Components\Section::make('SEO Settings')
                    ->schema([
                    \Littleboy130491\SeoSuite\SeoSuite::make()
                    ])
            ...
            ]);
    }
...
}
```

### In Your Frontend Controller

[](#in-your-frontend-controller)

In your controller you can add the trait `Littleboy130491\SeoSuite\Traits\SetsSeoSuite` and then use the `setsSeo()` function to set the meta tags.

```
// App\Http\Controllers\Site\PageController.php
class PageController extends Controller
{
    use \Littleboy130491\SeoSuite\Traits\SetsSeoSuite;

    public function home() {
        $page = \App\Models\Page::whereTemplate('homepage')->first();
        $this->setsSeo($page);
        return view('site.pages.home');
    }
}
```

### In Your View

[](#in-your-view)

You can use the `SEO::generate()` to render the SEO tags in your view.

```

    {!! SEO::generate() !!}

```

Result 🤩
--------

[](#result-)

### Frontend Result

[](#frontend-result)

Finally, this is how your meta tags will look like in the frontend.

```
Taking Notes on Taking Notes - Afat.me

{"@context":"https://schema.org","@type":"WebPage","name":"Taking Notes on Taking Notes","description":"I’ll share my personal journey through various note-taking applications, from Notion to Obsidian, highlighting the pros, cons, and humorous moments along the way."}
```

### Panel Result

[](#panel-result)

[![SEO Suite](https://camo.githubusercontent.com/746e0fcf8943ca1b739976353dda9556a846ce53406a45a8c9b5e35a2b6b9c14/68747470733a2f2f616661742e6d652f70726f6a656374732f73656f2d73756974652d70726f2f6172742f73656f2d73756974652e676966)](https://camo.githubusercontent.com/746e0fcf8943ca1b739976353dda9556a846ce53406a45a8c9b5e35a2b6b9c14/68747470733a2f2f616661742e6d652f70726f6a656374732f73656f2d73756974652d70726f2f6172742f73656f2d73756974652e676966)

### Supported Open Graph Types

[](#supported-open-graph-types)

[![Supported OG Types](https://camo.githubusercontent.com/15f5ec8b3c21ee139121c9157eaedd77279277282deb23c4fc76049ba90ddbbc/68747470733a2f2f616661742e6d652f70726f6a656374732f73656f2d73756974652d70726f2f6172742f737570706f727465642d6f70656e67726170682d74797065732e676966)](https://camo.githubusercontent.com/15f5ec8b3c21ee139121c9157eaedd77279277282deb23c4fc76049ba90ddbbc/68747470733a2f2f616661742e6d652f70726f6a656374732f73656f2d73756974652d70726f2f6172742f737570706f727465642d6f70656e67726170682d74797065732e676966)

Default Values
--------------

[](#default-values)

You can set default values for your SEO tags in the artesaos/seotools config file.

```
// config/seotools.php
```

Roadmap
-------

[](#roadmap)

- JSON-LD support
- Multi-language support with spatie/laravel-translatable
- OG Image support with spatie/laravel-medialibrary
- Admin page for managing default SEO values like prefix, suffix, etc.
- Cache support
- More Open Graph types
    - Music / Song
    - Music / Album
    - Music / Playlist
    - Music / Radio Station
    - Video / Movie
    - Video / Episode
    - Video / TV Show
    - Video / Other

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)

- [Mustafa Afat](https://github.com/afatmustafa)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

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/b3fa284fde331b02d3b228580dd64bf2f24cebd120927b013065d4f76c8e378b?d=identicon)[littleboy130491](/maintainers/littleboy130491)

---

Top Contributors

[![littleboy130491](https://avatars.githubusercontent.com/u/76086265?v=4)](https://github.com/littleboy130491 "littleboy130491 (3 commits)")

### Embed Badge

![Health badge](/badges/littleboy130491-seo-suite/health.svg)

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

PHPackages © 2026

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