calotype/seo
A package containing SEO helpers.
2,642
71
| Install | |
|---|---|
composer require calotype/seo |
|
| Latest Version: | v0.0.5 |
| PHP: | >=5.4.0 |
| License: | MIT |
| Last Updated: | Aug 30, 2014 |
| Links: | GitHub · Packagist |
Maintainer: bryantebeek
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',


