Download the PHP package jegex/laravel-seo without Composer
On this page you can find all versions of the php package jegex/laravel-seo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jegex/laravel-seo
More information about jegex/laravel-seo
Files in jegex/laravel-seo
Package laravel-seo
Short Description This is my package laravel-seo
License MIT
Homepage https://github.com/jegex/laravel-seo
Informations about the package laravel-seo
Laravel SEO Package
A comprehensive SEO package for Laravel inspired by Rank Math SEO (WordPress). Features include meta tags, Open Graph, Twitter Cards, template variables, sitemap generation, redirect management, and 404 tracking.
Note: This is a core SEO package - no admin dashboard included. For a Filament admin dashboard, check out the separate
filament-seopackage.
Support us
We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.
We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.
Installation
You can install the package via composer:
You can publish and run the migrations with:
You can publish the config file with:
Optionally, you can publish the views using
Quick Start
1. Add Trait to Your Model
2. Use in Your Blade Layout
3. Configure Templates (config/seo.php)
Features
Template Variables (Rank Math Style)
Use these variables in your templates:
| Variable | Description |
|---|---|
%title% |
Model title |
%sitename% |
Website name |
%sitedesc% |
Website description |
%sep% |
Separator (default: -) |
%currentdate% |
Current date |
%currentyear% |
Current year |
%author% |
Author name |
%excerpt% |
Content excerpt (160 chars) |
%categories% |
Categories list |
%tags% |
Tags list |
Helper Functions
Blade Components
Webmaster Verification
Add verification codes in config/seo.php:
Redirect Management
Middleware
Add to your app/Http/Kernel.php:
SEO Analysis
CLI Command
Model Analysis
Programmatic Analysis
Breadcrumbs
Via Service
Via Blade Component
JSON-LD Structured Data
Available Schema Types
article- Article/BlogPostingwebsite- WebSite with SearchActionorganization- Organization with contact infobreadcrumbs- BreadcrumbList
Creating Schema
Rendering
Complete Example
Controller
View (posts/show.blade.php)
Layout (layouts/app.blade.php)
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- jegex
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-seo with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.0
