Download the PHP package itmosoft/laravel-seo without Composer
On this page you can find all versions of the php package itmosoft/laravel-seo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download itmosoft/laravel-seo
More information about itmosoft/laravel-seo
Files in itmosoft/laravel-seo
Package laravel-seo
Short Description SEO metadata, canonical URLs, social sharing tags, and JSON-LD structured data for Laravel applications.
License MIT
Informations about the package laravel-seo
ITMOSOFT Laravel SEO
SEO metadata, canonical URLs, social sharing tags, and JSON-LD structured data for Laravel applications.
Requirements
- PHP 8.3+
- Laravel 12 or 13
Installation
Laravel package auto-discovery registers the service provider.
Basic usage
Resolve the scoped manager, configure page metadata, and render it in your layout:
In your Blade layout, inside <head>:
Or use the package directive:
JSON-LD structured data
Add multiple structured-data objects by calling structuredData() more than once.
Available methods
title(string $title)description(?string $description)canonical(?string $url)robots(string $directives)image(?string $url)type(string $type)siteName(string $name)locale(string $locale)twitterCard(string $card)structuredData(array $schema)render(): HtmlString
Methods are fluent and return the same manager instance.
Configuration
Publish config/itmosoft-seo.php. Defaults include title, description, canonical URL, robots directives, social image, Open Graph type/site name/locale, and Twitter card type.
The manager is registered as a Laravel scoped service so page metadata is not shared across normal request lifecycles in long-running application servers.
Security
Metadata values are HTML-escaped. JSON-LD is encoded with JSON hex flags to prevent script-tag injection. Only pass trusted, application-generated schema structures.
Scope boundaries
This package renders metadata; it does not generate XML sitemaps, crawl websites, perform keyword research, analyze rankings, manage redirects, or guarantee search-engine indexing.
Tests
License
MIT. See LICENSE.
All versions of laravel-seo with dependencies
illuminate/contracts Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
illuminate/view Version ^12.0 || ^13.0