calotype / seo
A package containing SEO helpers.
Installs: 2 638
Dependents: 0
Suggesters: 0
Security: 0
Stars: 70
Watchers: 10
Forks: 23
Open Issues: 3
Requires
- php: >=5.3.0
Requires (Dev)
- illuminate/http: 4.0.*
- illuminate/support: 4.0.*
- mockery/mockery: 0.7.2
- phpunit/phpunit: 3.7.*
Suggests
- laravel/framework: Calotype has built-in support for Laravel 4 using Service Providers and Facades.
This package is not auto-updated.
Last update: 2024-11-18 15:03:21 UTC
README
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',