What Laravel SEO by ralphjsmit does
Laravel SEO is a PHP package that adds SEO fields to Eloquent models and renders the resulting meta tags in Blade templates. It generates title tags with a sitewide suffix, description, author, image and robots meta tags, OpenGraph and Twitter cards, favicon and alternate links. Data is stored per model, so each post or page keeps its own values in the database rather than in template code.
Structured data is part of the package. It ships schema classes for Article, BreadcrumbList and FAQPage and accepts custom schema types, emitting JSON-LD in the page head. SEO values can be saved to the database or produced on the fly by a method on the model, which suits content that already has a title, image or path defined elsewhere.
Key features
- Automatic meta tag rendering
- Renders title, description, author, image and robots tags on the page from stored model data with no extra template work.
- OpenGraph and Twitter tags
- Generates social sharing tags for Facebook, LinkedIn and Twitter alongside the standard meta tags.
- JSON-LD structured data
- Builds Article, BreadcrumbList and FAQPage schema, plus any custom schema type you define.
- Dynamic SEO data from models
- Pulls SEO values from model methods at render time so editors never save them manually.
- Sitewide title suffix
- Applies a sitewide suffix to every title tag so page titles follow a consistent pattern.
- Favicon and robots tags
- Outputs the favicon link and robots tag from the same SEO data object as the rest of the head.
- Alternate links support
- Adds alternate link tags, useful for signalling translated or regional versions of a page.
- Pass SEOData from controllers
- Lets a controller hand a SEOData object straight to the rendering call instead of persisting it.
- Tag modification closures
- Registers closure hooks that adjust tags before rendering, for cases needing changes beyond the defaults.
- Media library style API
- Follows the same working pattern as Spatie's media library, applied to SEO attributes on models.
- Blade head rendering
- A single Blade call in the head renders every tag for a given model.
How it works
- Install the package with Composer and publish its configuration and migration files.
- Add the HasSEO trait to an Eloquent model that should carry SEO data.
- Store title, description and image values through the model's seo relation.
- Render the tags in your Blade head section with the seo helper for that model.
- Optionally define dynamic SEO data or schema classes for articles, breadcrumbs and FAQs.
Plans and pricing
Published under the MIT licence and installed with Composer; no paid tiers are listed.
Integrations and platforms
Works with
- Laravel
- Blade
Available as
- Web
Repository facts
- Repositoryralphjsmit/laravel-seo
- LanguagePHP
- Stars872
- Forks67
- LicenceMIT
- Created2022-02-04
- Last commit2026-10-05
- Open issues4
Services and details
Does SEO work itself
YesFree plan or free tools
YesAPI or MCP server
Yes
No information yet on keyword research, content optimization, writes content with AI, technical audits, rank tracking, backlinks and link building, local SEO, AI search visibility, free trial, WordPress plugin, browser extension, built for agencies. The website did not say; check with the vendor.
About the company
- Company ralphjsmit
- Website: github.com/ralphjsmit/laravel-seo
Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.