yosymfony/spress-installer

Installer for Spress addons

Installs: 1 961

Dependents: 10

Watchers: 1

Forks: 1

Language: PHP

v1.0.4 2015-06-11 18:40 UTC

README

Build Status

Plugins and themes installer for Composer.

Package type supported:

  • spress-plugin
  • spress-theme

Spress add-ons installer ignores Spress plugins packages when you install a theme from your Spress root folder.

If you use Spress as package, the location of the themes is vendor/yosymfony/spress-templates.

Installation

Add the following to your Spress plugin or theme composer.json:

"require": {
    "yosymfony/spress-installer": ">=1.0,<2.0"
}

Extra values in composer.json

"extra": {
    "spress_name": "Plugin-or-theme-name",
    "spress_class": "Your\\Plugin\\Namespace\\Entry-poin",
}
  • spres_name: The name of your theme/plugin. Don't uses spaces.
  • spress_class: The namespace of the class of a plugin (the entry-point to a plugins).