banulakwin / filament-seo-engine
Filament admin panel for banulakwin/laravel-seo-engine SEO management.
Package info
github.com/banulalakwindu/filament-seo-engine
pkg:composer/banulakwin/filament-seo-engine
1.0.0
2026-05-17 18:35 UTC
Requires
- php: ^8.2
- banulakwin/laravel-seo-engine: ^1.0
- filament/filament: ^5.0
- illuminate/contracts: ^11.0|^12.0|^13.0
- illuminate/database: ^11.0|^12.0|^13.0
- illuminate/support: ^11.0|^12.0|^13.0
Requires (Dev)
- laravel/pint: ^1.21
- orchestra/testbench: ^9.0|^10.0|^11.0
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^11.0|^12.0
This package is auto-updated.
Last update: 2026-05-17 18:39:13 UTC
README
Reusable Filament admin package for SEO management with banulakwin/laravel-seo-engine.
Requirements
- PHP
^8.2 - Laravel
^11.0|^12.0|^13.0 - Filament
^5.0 banulakwin/laravel-seo-engine^1.0
Installation
composer require banulakwin/filament-seo-engine
Register plugin in your panel:
use Banulakwin\FilamentSeoEngine\FilamentSeoEnginePlugin; ->plugins([ FilamentSeoEnginePlugin::make(), ])
Features
- Static page SEO resource (
seo_metarecords withmodel_type=static_pageby default). - Reusable SEO form schema for
seo()relationship tabs in existing resources. - Reusable SEO infolist schema for view pages/tabs.
- Global search with page key, meta title, and description.
- Type-aware image uploads with aspect ratio presets.
Reusable model SEO tab
Use in any edit page tab system that supports relationship-backed schema:
use Banulakwin\FilamentSeoEngine\Schemas\SeoContentForm; ...SeoContentForm::relationshipSchema('seo')
For view pages/infolists:
use Banulakwin\FilamentSeoEngine\Schemas\SeoContentInfolist; SeoContentInfolist::section('seo')
Runtime assumptions
- Host app uses
banulakwin/laravel-seo-engine. - SEO storage is centralized in
seo_meta. - Static pages use
model_type = config('seo.static_page_model_type', 'static_page')and stringmodel_id. - Dynamic models use a
seo()relation (typically viaSeoable) and should be edited inline via reusable schemas.
Testing
composer test # Run PHPUnit composer pint # Fix code style composer phpstan # Static analysis composer quality # Run all (pint + phpstan + test)
Changelog
See CHANGELOG.md for details.
Contributing
- Fork the repository
- Create your feature branch (
git checkout -b feature/your-feature) - Run
composer qualityto ensure tests and style pass - Commit and push
- Open a pull request
Package layout (reference)
src/
FilamentSeoEnginePlugin.php
FilamentSeoEngineServiceProvider.php
Resources/StaticPageSeos/
StaticPageSeoResource.php
Pages/
ListStaticPageSeos.php
EditStaticPageSeo.php
ViewStaticPageSeo.php
Schemas/
StaticPageSeoInfolist.php
Tables/
StaticPageSeosTable.php
Schemas/
CommonImageUpload.php
SeoContentForm.php
SeoContentInfolist.php
License
MIT — see LICENSE for details.