Arqon SEO plugin screenshot
No dark mode support
No multilingual support
Supports v5.x

Arqon SEO by Eii Tech Solutions

Community

A flexible SEO metadata manager for Laravel and Filament, featuring automatic model discovery, static route management, Open Graph tags, and centralized SEO settings.

Tags: Kit Developer Tool
Supported versions:
5.x
Eii Tech Solutions avatar Author: Eii Tech Solutions

Package health

Automated checks of this plugin's Composer package

95 / 100
Security 91
Maintenance 100
Ecosystem 100
17 checks
  • Skipped: GitHub Actions pinned to SHA
  • Skipped: GitLab CI includes pinned to SHA
  • Failed: Recent release is immutable — The tag v1.0.2 was pushed without a release. Only releases can be made immutable, so the tag can still be moved. View details on Plumb
  • Passed: Release tags have not been moved — No version tag has been seen moving.
  • Passed: Open security advisories
  • Passed: Dependabot PR responsiveness — No open Dependabot PRs.
  • Skipped: Renovate MR responsiveness
  • Passed: Dependabot or Renovate configured
  • Passed: Dependency update cooldown configured
  • Passed: Provides a security policy
  • Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
  • Passed: Commit and release recency — Active: last commit 2 days ago; last release 8 days ago.
  • Passed: composer.lock not committed by library — composer.lock is absent from the released dist archive.
  • Passed: Dist archive is lean
  • Passed: Current Laravel version supported — Package dependencies resolve together with current Laravel 13.0.
  • Passed: Current PHP version supported — Constraint ^8.3 supports current PHP 8.6.
  • Skipped: Current Symfony version supported
Third-party plugin. This is built by the community, not the Filament team. Filament does not review, endorse, or vet the security of plugins outside the filament/ namespace. Review the source and install at your own risk. Found malware or an unresolved security issue the author won't address? Report it .
Powered by Plumb Last scanned 4 hours ago

Documentation

Arqon Seo - SEO Management for Laravel and Filament

Latest Version Total Downloads License PHP 8.3+ Laravel 13 Filament 5 GitHub Stars

A reusable SEO metadata manager for Laravel 13 and Filament 5. It supports arbitrary Eloquent models through a polymorphic relationship, static named routes managed from Filament, global defaults, canonical URLs, robots directives, and Open Graph metadata.

#How it works

Arqon SEO stores metadata in a single seo_metadata table using two strategies that can coexist:

#Model-backed metadata (dynamic content)

Any Eloquent model — such as a BlogPost, Event, or Product — can carry its own SEO metadata through a polymorphic morphOne relationship. The metadata is edited directly inside the model's Filament resource form, so each record manages its own <title>, description, Open Graph image, and robots directives.

On the frontend, the <x-arqon-seo::seo /> Blade component inspects the current route. When the route passes a model that uses the HasSeoMetadata trait (e.g. /blog/{blogPost:slug}), the component automatically resolves and renders that model's metadata — no controller logic required.

#Static-route metadata (fixed pages)

For pages that don't correspond to a single model — such as /about, /contact, or /services — you create a named route in Laravel and manage its SEO metadata from the Filament SEO → Metadata resource. A dropdown lists every named, parameter-free GET route in your application, so adding a new page is as simple as defining the route and filling in the form.

#Resolution order

The <x-arqon-seo::seo /> component resolves metadata in this priority:

  1. Model metadata — a model passed as a route parameter with the HasSeoMetadata trait.
  2. Route metadata — a SeoMetadata record matching the current named route.
  3. Global settings — defaults configured in Filament → SEO → Global Settings.
  4. Application name — final fallback (config('app.name')).

#Requirements

  • PHP 8.3+
  • Laravel 13
  • Filament 5
  • Spatie Laravel Settings 3.x

#Installation

#1. Install the package

composer require eii/arqon-seo
php artisan vendor:publish --tag=arqon-seo-config
php artisan storage:link

#3. Publish Spatie settings prerequisites

If your application does not already use spatie/laravel-settings, publish its config and base migration first:

php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="config"
php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="migrations"

If you already have a config/settings.php, just add the Arqon SEO settings class to the existing settings array:

'settings' => [
    // ...your existing settings classes
    Arqon\Seo\Settings\SeoSettings::class,
],

#4. Publish and run the Arqon SEO settings migration

The settings migration is published separately so it runs after Spatie's create_settings_table migration:

php artisan vendor:publish --tag=arqon-seo-settings-migrations
php artisan migrate

If necessary, rename the published Arqon migration with a later timestamp to ensure it runs after Spatie's base table migration.

#5. Register the Filament plugin

In your panel provider:

use Arqon\Seo\ArqonSeoPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...existing panel configuration
        ->plugin(ArqonSeoPlugin::make());
}

The plugin registers the SEO Metadata resource and the Global Settings page. You can hide the settings page with:

'filament' => [
    'show_settings_page' => false,
],

The navigation group and package icons can also be customized in config/arqon-seo.php:

'filament' => [
    'navigation_group' => 'Site',
],
'icons' => [
    'seo_metadata' => 'heroicon-o-globe-alt',
    'seo_settings' => 'heroicon-o-adjustments-horizontal',
    'view_page' => 'heroicon-o-arrow-top-right-on-square',
    'create' => 'heroicon-o-plus',
    'edit' => 'heroicon-o-pencil-square',
    'delete' => 'heroicon-o-trash',
    'delete_bulk' => 'heroicon-o-trash',
],

#6. Add the Blade component to your layout

Place the component inside the <head> of your main layout, after the charset and viewport declarations:

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <x-arqon-seo::seo />
</head>

Use a single <x-arqon-seo::seo /> per page. Do not also hardcode competing <title>, canonical, robots, or Open Graph tags.


#Integration: Model-backed metadata

Use this approach for any dynamic content — blog posts, events, products, etc.

#Step 1 — Add the trait to your model

use Arqon\Seo\Models\Concerns\HasSeoMetadata;
use Illuminate\Database\Eloquent\Model;

class BlogPost extends Model
{
    use HasSeoMetadata;

    protected $fillable = ['title', 'slug', 'content', /* ... */];
}

No model registration or mapping is required. The trait works with custom morph maps automatically.

#Step 2 — Add SEO fields to the Filament resource form

Open your model's Filament form schema and add a new tab (or section) with the reusable SEO fields:

use Arqon\Seo\Filament\Schemas\SeoMetadataFields;
use Filament\Schemas\Components\Section;
use Filament\Schemas\Components\Tabs;
use Filament\Schemas\Components\Tabs\Tab;

Tabs::make()
    ->tabs([
        Tab::make('Details')
            ->schema([/* ... */]),

        Tab::make('Content')
            ->schema([/* ... */]),

        Tab::make('SEO')
            ->icon('heroicon-o-magnifying-glass')
            ->schema([
                Section::make('SEO metadata')
                    ->relationship('seoMetadata')
                    ->columns(2)
                    ->schema(SeoMetadataFields::make())
                    ->columnSpanFull(),
            ]),
    ])

The ->relationship('seoMetadata') directive saves all fields through the model's polymorphic relation. When a user fills in the SEO tab and saves the blog post, the metadata is created or updated automatically.

#Step 3 — Define a public-facing route

The SeoResolver detects model route parameters automatically. Define a route that passes the model:

use App\Models\BlogPost;

Route::get('/blog/{blogPost:slug}', function (BlogPost $blogPost) {
    return view('blog.show', ['post' => $blogPost]);
})->name('blog.show');

The <x-arqon-seo::seo /> component inspects the route parameters, finds the BlogPost model, checks for the seoMetadata() method, and renders its metadata — no controller code needed.

#Full example — Event model

// app/Models/Event.php

use Arqon\Seo\Models\Concerns\HasSeoMetadata;
use Illuminate\Database\Eloquent\Model;

class Event extends Model
{
    use HasSeoMetadata;

    protected $fillable = ['title', 'slug', 'description', 'starts_at'];
}
// routes/web.php

use App\Models\Event;

Route::get('/events/{event:slug}', function (Event $event) {
    return view('events.show', ['event' => $event]);
})->name('events.show');
// app/Filament/Resources/Events/Schemas/EventForm.php

use Arqon\Seo\Filament\Schemas\SeoMetadataFields;
use Filament\Schemas\Components\Section;
use Filament\Schemas\Components\Tabs;
use Filament\Schemas\Components\Tabs\Tab;

Tabs::make()
    ->tabs([
        Tab::make('Details')->schema([/* ... */]),

        Tab::make('SEO')
            ->icon('heroicon-o-magnifying-glass')
            ->schema([
                Section::make('SEO metadata')
                    ->relationship('seoMetadata')
                    ->columns(2)
                    ->schema(SeoMetadataFields::make())
                    ->columnSpanFull(),
            ]),
    ])

#Programmatic usage

You can also create or update metadata outside of Filament:

$event->updateSeoMetadata([
    'title' => 'Annual Tech Conference 2025',
    'description' => 'Join us for two days of talks and workshops.',
    'canonical_url' => route('events.show', $event),
    'robots' => ['index', 'follow'],
    'og_title' => 'Annual Tech Conference 2025',
    'og_description' => 'Two days of talks, workshops, and networking.',
    'og_image' => 'seo/event-cover.jpg',
]);

#Integration: Static-route metadata

Use this approach for fixed pages that don't correspond to a single model record — about pages, contact pages, landing pages, etc.

#Step 1 — Define a named route

// routes/web.php

Route::get('/about', fn () => view('pages.about'))->name('about');
Route::get('/contact', fn () => view('pages.contact'))->name('contact');
Route::get('/services', fn () => view('pages.services'))->name('services');

#Step 2 — Create metadata in Filament

Navigate to SEO → Metadata → Create in your Filament admin panel. The Named route dropdown will list all eligible routes:

about — /about
contact — /contact
services — /services

Select the route, fill in the metadata fields, and save. The <x-arqon-seo::seo /> component will automatically resolve the metadata when a visitor hits that URL.

#Which routes appear in the dropdown?

A route is included when all of the following are true:

Requirement Reason
Has a name (->name(...)) The name is used as a stable key
No URI parameters ({...}) Parameterized routes are model-backed — use the trait instead
Responds to GET or HEAD SEO metadata only applies to page loads
Not in excluded_routes filament.*, login, logout, register, password.*, verification.*, sanctum.*, api.* are excluded by default

To exclude additional routes, update config/arqon-seo.php:

'excluded_routes' => [
    'filament.*', 'login', 'logout', 'register', 'password.*',
    'verification.*', 'sanctum.*', 'api.*',
    'debugbar.*',     // add your own patterns
    'telescope.*',
],

#Programmatic usage

You can also create or update route metadata in code:

use Arqon\Seo\Support\SeoMetadataWriter;

app(SeoMetadataWriter::class)->forRoute('about', [
    'title' => 'About us',
    'description' => 'Learn about our company and mission.',
    'og_image' => 'seo/about-hero.jpg',
]);

#Global settings

The SEO → Global Settings page in Filament stores site-wide defaults:

Setting Purpose
Default site title Used when no page-level title is set
Default meta description Used when no page-level description is set
Default social image Fallback Open Graph image
Allow indexing Global index/noindex default

Per-page robots values always override the global indexing setting. If no per-page value exists and indexing is disabled globally, the output is noindex, nofollow.


#Configuration

Publish config/arqon-seo.php to customise the package:

php artisan vendor:publish --tag=arqon-seo-config
Key Default Description
table seo_metadata Metadata table name (change before running migrations)
disk public Filesystem disk for uploaded social images
image_directory seo Upload directory within the disk
excluded_routes ['filament.*', 'login', ...] Named routes hidden from the static target dropdown
defaults.title null Fallback title if settings are not installed
defaults.description null Fallback description
defaults.og_image null Fallback social image
defaults.allow_indexing true Fallback indexing flag
filament.navigation_group SEO Filament navigation group label
filament.navigation_sort 1 Position within the navigation group
filament.show_settings_page true Show or hide the Global Settings page

#Notes

  • Use a single <x-arqon-seo::seo /> in the document <head>. Do not also hardcode competing <title>, canonical, robots, or Open Graph tags.
  • The package does not automatically inject tags into every view. The host application chooses which layouts include the component.
  • If uploaded OG images use a private disk, change arqon-seo.disk to a public disk or provide publicly accessible URLs.
  • Models with custom morph maps are fully supported — the relationship uses Laravel's getMorphClass().

#License

This package is open-sourced software licensed under the MIT License.


Alt text

Developed and maintained by Amit Haldar

From Eii Tech Solutions

If you find this package useful, consider giving it a ⭐ on GitHub!

The author

Eii Tech Solutions avatar Author: Eii Tech Solutions

Eii Tech Solutions is a software development company based in Tokyo, Japan. We build practical Laravel and Filament packages, developer tools, and reusable solutions focused on simplicity, reliability, and security. Our packages are developed and maintained by Amit Haldar, with a focus on making everyday development easier for the Laravel and Filament community.

Plugins
7
Stars
6

From the same author

Arqon Forms plugin thumbnail

Arqon Forms

Arqon Forms is a lightweight, dynamic form builder for Laravel and Filament 5. Create, preview, publish, and manage forms directly from your Filament panel, with flexible fields, real-time validation, spam protection, and submission management.

Eii Tech Solutions avatar Author: Eii Tech Solutions
95 / 100 package health score out of 100
2 stars
Tag: Developer Tool Tag: Kit
Dark mode ready No multilingual support
Free
Get it now
Lucide Icons plugin thumbnail

Lucide Icons

A lightweight Filament plugin that integrates Lucide icons with configurable global stroke width.

Eii Tech Solutions avatar Author: Eii Tech Solutions
95 / 100 package health score out of 100
1 star
Tag: Icon Set
No dark mode support No multilingual support
Free
Get it now
Editable Text Column plugin thumbnail

Editable Text Column

An enhanced Filament TextColumn that lets users edit table values directly through a modal, supporting plain text input, selectable options, and badge display with BackedEnum support.

Eii Tech Solutions avatar Author: Eii Tech Solutions
95 / 100 package health score out of 100
0 stars
Recently added: New Tag: Tables More tags: +1
No dark mode support No multilingual support
Free
Get it now
Language Switch plugin thumbnail

Language Switch

Add a top-bar language switcher dropdown to your Filament panel. Supports configurable locales with native names, optional SVG flags, LTR/RTL directions, and persists the selected language via session and cookie. Fully customizable with publishable config, views, and flag assets.

Eii Tech Solutions avatar Author: Eii Tech Solutions
95 / 100 package health score out of 100
1 star
Tag: Developer Tool Tag: Panels
No dark mode support No multilingual support
Free
Get it now