Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Filament Seo

Laravel Filament Seo Laravel Package

ralphjsmit/laravel-filament-seo

A Filament PHP fieldgroup that edits the title, author, and description of a laravel-seo model. It automatically loads and saves data through the seo() relationship, so you can drop SEO::make() into any form with no extra configuration.

View on GitHub
Deep Wiki
Context7

ralphjsmit/laravel-filament-seo is a convenient helper for combining the laravel-seo package with Filament Admin and Forms. It provides a simple SEO component that returns a Filament fieldgroup for editing the title, author and description SEO fields, automatically getting and saving all data to the model's seo() relationship—no additional configuration required.

use RalphJSmit\Filament\SEO\SEO;

SEO::make();

Features:

  • Drop-in SEO::make() fieldgroup for any Filament form
  • Automatic loading and saving via the seo() relationship
  • Works for both creating and editing records in Filament Admin
  • Requires only the HasSEO trait on your Eloquent model
  • Fully configurable through the main package's seo.php config
Frequently asked questions about Laravel Filament Seo
What does ralphjsmit/laravel-filament-seo do?
It provides a Filament field group for editing laravel-seo metadata such as title, author, and description. The component automatically loads existing SEO data from and saves changes to the model's seo() relationship. You add the HasSEO trait to your Eloquent model and place SEO::make() in a Filament form.
How do I install laravel-filament-seo?
Install it with Composer using composer require ralphjsmit/laravel-filament-seo. The package will also require ralphjsmit/laravel-seo if it is not already installed. After installation, review and configure the seo.php config file from the main laravel-seo package.
Do I need the ralphjsmit/laravel-seo package?
Yes. laravel-filament-seo is a helper for the laravel-seo package and depends on it for the SEO model and relationship. Installing laravel-filament-seo will pull in ralphjsmit/laravel-seo if needed. You should configure the seo.php config file from that main package.
How do I add SEO fields to a Filament form?
Import the SEO class from RalphJSmit Filament SEO and add SEO::make() to your Filament form schema. The component returns a field group for title, author, and description. It works for both creating and editing records when the model uses HasSEO.
Why is SEO::make() not available for my model?
The SEO::make() helper is available when the Eloquent model you are editing uses the HasSEO trait. Add use HasSEO; to the model class, for example Post. The package then uses the model's seo() relationship to get and save metadata.
Does laravel-filament-seo support Laravel 13?
The 2.2.0 release explicitly adds support for Laravel 13. Check the package's composer.json constraints to confirm whether your Laravel version is supported. If you are upgrading from older Laravel versions, review the main laravel-seo package and Filament compatibility as well.
Is laravel-filament-seo compatible with Filament v3?
The package is built for Filament forms, and the latest release is discussed in relation to Filament v3.x. The README examples show Filament form schema usage, though exact APIs can vary by Filament version. Verify the Filament version constraint in composer.json before installing in a v3 panel.
Does it automatically save SEO title, author, and description?
Yes. The SEO component automatically takes care of getting and saving the title, author, and description fields to the model's seo() relationship. You do not need additional configuration in the form for standard load and save behavior. This applies to Filament create and edit forms when the model uses HasSEO.
Can I use laravel-filament-seo outside Filament Admin?
The package is specifically a Filament field group for editing laravel-seo metadata. It is intended for Filament Admin and Filament forms, not for Nova, Backpack, or custom admin panels. For non-Filament workflows, use the underlying ralphjsmit/laravel-seo package directly.
How do I troubleshoot SEO fields not saving in Filament?
First confirm the model uses the HasSEO trait and that the seo() relationship is available. Check that SEO::make() is inside the Filament form schema and that the form is saving the record normally. Also verify the laravel-seo config and database setup, then clear caches and test create and edit screens.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections