faysal0x1 / seo-manager-module
Context-aware SEO manager module for Laravel projects.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:laravel-module
pkg:composer/faysal0x1/seo-manager-module
Requires
- php: ^8.2
- nwidart/laravel-modules: ^11.0 || ^12.0
This package is not auto-updated.
Last update: 2026-01-11 16:10:44 UTC
README
Reusable nwidart module that centralises SEO metadata (meta tags, Open Graph, Twitter cards and schema) for Laravel + Inertia projects.
Features
- CRUD UI (Inertia/React) for defining SEO contexts (e.g.
page::home,static::privacy-policy) - Context-aware overrides consumed by
App\Helpers\SeoHelper - Extendable trait for models to expose SEO fields (
App\Modules\SeoManager\Traits\HasSeoAttributes) - Service class
App\Modules\SeoManager\Services\SeoManagerfor retrieving/merging SEO payloads - Publishable React pages via
php artisan vendor:publish --tag=seo-manager-views
Installation
composer require faysal0x1/seo-manager-module php artisan module:enable SeoManager php artisan migrate
Usage
- Visit
/seo-manager(authenticated) to manage entries. - Tag specific contexts using
context(e.g.page::cart,static::return-policy). - Attach SEO directly to models by using the provided
HasSeoAttributestrait.