New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

jwohlfert23/laravel-seo

SEO tools to insert meta data in laravel projects
6,780 3
Install
composer require jwohlfert23/laravel-seo
Latest Version:3.0
PHP:>=5.5.9
Laravel:5 – 12
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

exa2040/laravel-seo

A SEO extension for your laravel project.

12 0
seo
aerni/advanced-seo

Comprehensive SEO addon for Statamic with flexibility in mind

22,616 18
witify/laravel-seo-attributes

Quickly add SEO attribute to your views in Laravel

1,844 0
flobbos/laravel-seo-wrapper

A small wrapper for artesaos/seotools SEO Package

598 1
overturelabs/seo

Search engine optimization for Laravel.

10 1

Version History

Version Released PHP Laravel License
3.0 >=5.5.9 >=5.0 MIT
2.4 >=5.5.9 >=5.0 MIT
2.3 >=5.5.9 >=5.0 MIT
2.2 >=5.5.9 >=5.0 MIT
2.1 >=5.5.9 ~5 MIT