A package containing SEO helpers.

v0.0.5 2014-05-01 20:00 UTC

This package is not auto-updated.

Last update: 2024-04-08 12:20:22 UTC


README

Latest Stable Version Total Downloads Build Status

Calotype / SEO

Warning! This package is still in an alpha/beta state.

SEO is a package that provides helpers for some common SEO techniques.

Features

  • Meta tags:

    • Set the meta title and description on the fly.
    • Set the meta title and description by object.
  • Sitemap.xml:

    • Generate a sitemap.xml and add your own entries.
    • Generate entries from one or more objects (lazy-loading is available).
  • Robots.txt:

    • Generate a robots.txt and add your own entries.

Installation

Composer / Packagist

Require the package in your composer.json.

"calotype/seo": "dev-master"

Run composer install or update to download the package.

$ composer update

Providers

Laravel 4

Just register the service provider and the facades in app/config/app.php and you are good to go.

// Service provider
'Calotype\SEO\Providers\SEOServiceProvider',

// Facades (can customize if preferred)
'SEO\Meta'    => 'Calotype\SEO\Facades\Meta',
'SEO\Sitemap' => 'Calotype\SEO\Facades\Sitemap',
'SEO\Robots'  => 'Calotype\SEO\Facades\Robots',