Download the PHP package elegantly/laravel-seo without Composer
On this page you can find all versions of the php package elegantly/laravel-seo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elegantly/laravel-seo
More information about elegantly/laravel-seo
Files in elegantly/laravel-seo
Package laravel-seo
Short Description An Elegant & flexible SEO tag builder for Laravel
License MIT
Homepage https://github.com/elegantengineeringtech/laravel-seo
Informations about the package laravel-seo
An Elegant & Flexible SEO Tag Builder for Laravel
This package offers an extremely flexible and advanced way to manage all of your SEO tags.
With this package, you will be able to implement:
- The standard HTML tags (title, robots, ...)
- Localization with alternate tags
- The Open Graph tags, including structured properties, arrays, and Object Types
- The Twitter tags
- Structured data (JSON-LD)
Installation
You can install the package via Composer:
You can publish the config file with:
This is the content of the published config file:
Introduction
You can display all the SEO tags in your view simply by calling the seo
function like this:
This will render all the default tags:
Basic Usage
From a Controller
Most of the time, your will want to define you seo tags from a controller
Then, in your view, call seo
:
Advanced SEO
If you need to define your SEO tags in a more precise or complex way, you can use \Elegantly\Seo\SeoManager::class
.
This class allows you to define every tag individually.
Then, just echo it in your view:
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
- Quentin Gabriele
- 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 ^10.0||^11.0