jwohlfert23/laravel-seo

SEO tools to insert meta data in laravel projects
6,401 3
Install
composer require jwohlfert23/laravel-seo
Latest Version:3.0
PHP:>=5.5.9
License:MIT
Last Updated:May 9, 2025
Links: GitHub  ·  Packagist
Maintainer: jwohlfert23

Laravel SEO

Installation

Install package

composer require jwohlfert23/laravel-seo

You can publish the config to change default setting like the base of your title, twitter handle, etc.

php artisan vendor:publish --provider="Jwohlfert23\LaravelSeo\ServiceProvider"

Add Jwohlfert23\LaravelSeo\SeoTrait to your base controller. This will allow you to easily change the page title and other meta information directly from your controller like so...

public function index() 
{
    $this->seo()->setTitle('Home')->setDescription('This is out home page');
     
    return view('home');
}

Insert app('seo')->render() into the head of your layout like so...

<head>
....
{!! app('seo')->render() !!}
...
</head>

Related Packages

garf/laravel-title

Convenient seo-titles assembler for your web application

244 4
artesaos/seotools

SEO Tools for Laravel and Lumen

5,777,437 3,367
helori/laravel-seo

SEO tools to insert meta and structured-data in laravel projects

4,934 12
werxe/laravel-seo

Seo management for Eloquent models.

1,270 3
arcanedev/laravel-seo

SEO Package for Laravel.

1,313 4