PHPackages                             josegonzalez/cakephp-sham - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. josegonzalez/cakephp-sham

AbandonedArchivedCakephp-plugin

josegonzalez/cakephp-sham
=========================

A CakePHP plugin for handling SEO-related information

1.0.0(12y ago)15286MITPHP

Since Apr 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/josegonzalez/cakephp-sham)[ Packagist](https://packagist.org/packages/josegonzalez/cakephp-sham)[ Docs](http://github.com/josegonzalez/cakephp-sham)[ RSS](/packages/josegonzalez-cakephp-sham/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/1dbbc39d7a4a6f9a7411ab2593af59f7a071667a7321116926768b7310c96e0e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a6f7365676f6e7a616c657a2f63616b657068702d7368616d2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/josegonzalez/cakephp-sham)[![Coverage Status](https://camo.githubusercontent.com/f5b7d9f5e44735222fb4a4f01ebb9eb851c86eb5786148e525265768feab10a0/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6a6f7365676f6e7a616c657a2f63616b657068702d7368616d2e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/josegonzalez/cakephp-sham?branch=master)[![Total Downloads](https://camo.githubusercontent.com/5e76cbf3cb62ca7221b03d7927e0389969ede4dee021df2e8ad636601ddd91aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6f7365676f6e7a616c657a2f63616b657068702d7368616d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/josegonzalez/cakephp-sham)[![Latest Stable Version](https://camo.githubusercontent.com/67912d09385dffa42e51b91cdd07d0ae2e6b344f12e52774ed00552589478e3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6f7365676f6e7a616c657a2f63616b657068702d7368616d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/josegonzalez/cakephp-sham)[![Documentation Status](https://camo.githubusercontent.com/62b9dab8d3d15110ee7a2257c75e62833f542ec07c115f367294e321609725b1/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f63616b657068702d7368616d2f62616467652f3f76657273696f6e3d6c6174657374267374796c653d666c61742d737175617265)](https://readthedocs.org/projects/cakephp-sham/?badge=latest)[![Gratipay](https://camo.githubusercontent.com/40a48c7b3fc02e9d39dd715fe09e404c4cb2e89288c6ace0773d2aab6913b46f/68747470733a2f2f696d672e736869656c64732e696f2f67726174697061792f6a6f7365676f6e7a616c657a2e7376673f7374796c653d666c61742d737175617265)](https://gratipay.com/~josegonzalez/)

Requirements
------------

[](#requirements)

- CakePHP 2.x

Installation
------------

[](#installation)

*\[Using [Composer](http://getcomposer.org/)\]*

[View on Packagist](https://packagist.org/packages/josegonzalez/cakephp-sham), and copy the json snippet for the latest version into your project's `composer.json`. Eg, v. 1.0.0 would look like this:

```
{
    "require": {
        "josegonzalez/cakephp-sham": "1.0.0"
    }
}
```

Because this plugin has the type `cakephp-plugin` set in it's own `composer.json`, composer knows to install it inside your `/Plugins` directory, rather than in the usual vendors file. It is recommended that you add `/Plugins/Sham` to your .gitignore file. (Why? [read this](http://getcomposer.org/doc/faqs/should-i-commit-the-dependencies-in-my-vendor-directory.md).)

*\[Manual\]*

- Download this:
- Unzip that download.
- Copy the resulting folder to `app/Plugin`
- Rename the folder you just copied to `Sham`

*\[GIT Submodule\]*

In your app directory type:

```
git submodule add git://github.com/josegonzalez/cakephp-sham.git Plugin/Sham
git submodule init
git submodule update

```

*\[GIT Clone\]*

In your plugin directory type

```
git clone git://github.com/josegonzalez/cakephp-sham.git Sham

```

### Enable plugin

[](#enable-plugin)

Before using, you MUST enable the plugin:

```
CakePlugin::load('Sham');

```

If you are already using `CakePlugin::loadAll();` before usage, then this is not necessary.

Usage
-----

[](#usage)

Add the component and helper to your AppController `$components` and `$helpers` arrays:

```
