/composer-installer

A library for installing Blesta extensions with composer

Primary LanguagePHPMIT LicenseMIT

Composer Installer

Build Status Coverage Status

A library for installing Blesta extensions using composer.

Usage

To use simply add blesta/composer-installer as a requirement to your extension's composer.json file, and tell composer which type of extension you've created.

    "type": "blesta-plugin",
    "require": {
        "blesta/composer-installer": "~1.0"
    }

In the above example, we've set blesta-plugin as the type of composer package. See below for a complete list of supported types, and choose the appropriate one for your extension.

Supported Types

Now list your extension with packagist (the default composer repository) and anyone can install your extension with composer!