elefant/theme-installer

Theme installer for Elefant CMS

Installs: 17

Dependents: 11

Stars: 2

Watchers: 1

Language: PHP

1.0 2012-10-27 18:23 UTC

README

This custom Composer installer will install themes into an Elefant CMS site's layouts/ folder through Composer. It will trigger when a Composer package uses the elefant-theme custom package type.

Usage

In order for a theme to install using this installer, it needs a composer.json file with the following:

{
    "name": "elefant/theme-$NAME$",
    "type": "elefant-theme",
    "license": "MIT",
    "repositories": [
        {"type": "git", "url": "http://github.com/jbroadway/theme_installer"}
    ],
    "require": {
        "elefant/theme-installer": "*"
    }
}

The type element will instruct Composer to use this custom installer.