Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 685 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 685 Bytes

Composer installer for Elefant CMS apps

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

Usage

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

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

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