Download the PHP package salehye/laravel-seo without Composer
On this page you can find all versions of the php package salehye/laravel-seo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download salehye/laravel-seo
More information about salehye/laravel-seo
Files in salehye/laravel-seo
Package laravel-seo
Short Description Professional Laravel SEO Package - Complete SEO solution for Laravel applications
License MIT
Informations about the package laravel-seo
Laravel SEO Package
Professional Laravel SEO Package - Complete SEO solution for Laravel applications.
Features
- ✅ Complete Meta Tags - Title, Description, Keywords, Robots, Canonical
- ✅ Open Graph - Full support for Facebook/LinkedIn sharing
- ✅ Twitter Cards - Beautiful cards for Twitter sharing
- ✅ Structured Data (Schema.org) - 15+ schema types
- ✅ Sitemap.xml - Auto-generated sitemap
- ✅ Robots.txt - Dynamic robots.txt
- ✅ Multi-language - Full i18n support
- ✅ Cache Support - Built-in caching for performance
- ✅ Blade Components - Easy-to-use
<x-seo>component - ✅ Model Trait - Add SEO to any model with
HasSeotrait - ✅ Database Storage - Optional database storage for SEO data
- ✅ Helper Functions - Convenient helper functions
- ✅ Facade -
Seofacade for easy access - ✅ Console Commands - Install, clear cache, generate sitemap
Installation
1. Install via Composer
2. Publish Configuration
3. Publish Migrations (Optional)
4. Publish Views (Optional)
5. Quick Install Command
Configuration
Edit config/seo.php to customize your SEO settings:
Usage
Method 1: Using the HasSeo Trait (Recommended for Models)
Add the trait to your model:
In your controller:
Method 2: Using the Seo Facade
Method 3: Using Helper Functions
Method 4: Using the Blade Component
In your layout file (layouts/app.blade.php):
Available Schema Types
The package supports 15+ schema types:
Console Commands
Install Package
Clear SEO Cache
Generate Static Sitemap
Routes
The package automatically registers these routes:
GET /sitemap.xml- XML sitemapGET /robots.txt- Robots.txt fileGET /sitemap.xsl- XSL stylesheet for pretty sitemap viewing
Helper Functions
Database Storage
If you published migrations, you can store SEO data in the database:
Caching
SEO data is automatically cached. Configure in config/seo.php:
Use caching with models:
Multi-language Support
Analytics Integration
Add analytics IDs to .env:
Examples
E-commerce Product
Service Page
Blog Post
Testing
License
This package is open-sourced software licensed under the MIT license.
Support
For issues and feature requests, please create an issue on GitHub.
Made with ❤️ by Saleh
All versions of laravel-seo with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^10.0|^11.0|^12.0|^13.0
illuminate/view Version ^10.0|^11.0|^12.0|^13.0