2017 © Pedro Peláez
 

library laravel-seo

SEO tools to insert meta data in laravel projects

image

jwohlfert23/laravel-seo

SEO tools to insert meta data in laravel projects

  • Thursday, February 22, 2018
  • by jwohlfert23
  • Repository
  • 1 Watchers
  • 2 Stars
  • 323 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

Laravel SEO

Installation

Install package, (*1)

composer require jwohlfert23/laravel-seo, (*2)

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

php artisan vendor:publish --provider="Jwohlfert23\LaravelSeo\ServiceProvider", (*4)

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..., (*5)

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..., (*6)

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

The Versions

22/02 2018

dev-master

9999999-dev

SEO tools to insert meta data in laravel projects

  Sources   Download

MIT

The Requires

 

by Jack Wohlfert

laravel seo

30/01 2018

1.0

1.0.0.0

SEO tools to insert meta data in laravel projects

  Sources   Download

MIT

The Requires

 

by Jack Wohlfert

laravel seo