spress/spress-installer

Installer for Spress addons

Maintainers

👁 yosymfony

Package info

github.com/spress/Spress-installer

Issues

Type:composer-plugin

pkg:composer/spress/spress-installer

Statistics

Installs: 7 367

Dependents: 19

Suggesters: 0

Stars: 0

v2.1.0 2017-02-11 12:01 UTC

Requires

  • composer-plugin-api: ^1.0

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

MIT ed31aa40817b133e4c19e5bf6224f343cf959275

themesinstallerpluginsspress

This package is auto-updated.

Last update: 2026-06-13 07:23:30 UTC


README

👁 Build Status

Plugin and theme installer for Spress using Composer.

Package type supported:

  • spress-plugin
  • spress-theme

Installation

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

"require": {
 "yosymfony/spress-installer": "~2.1"
}

Notice PluginInstaller 2.1 requires Spress >= 2.2.0.

Extra values

"extra": {
 "spress_class": {
 "MyVendor\\MyPlugin\\PluginClass1",
 "MyVendor\\MyPlugin\\PluginClass2"
 }
}
  • spress_class: class names of the plugins (including namespaces).

An example of composer.json file

First, an example for a simple plugin without namespaces:

{
 "name": "myname/my-spress-plugin",
 "type": "spress-plugin",
 "license": "MIT",
 "require": {
 "yosymfony/spress-installer": "~2.1"
 }
}

Second, an example for a plugin using namespace:

{
 "name": "myname/my-spress-plugin",
 "type": "spress-plugin",
 "license": "MIT",
 "require": {
 "yosymfony/spress-installer": "~2.1"
 },
 "extra": {
 "spress_class": {
 "MyVendor\\MyPlugin\\PluginClass"
 }
 }
}

Unit tests

You can run the unit tests with the following command:

$ cd your-path
$ composer.phar install
$ phpunit