A library for installing Blesta extensions using composer.
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
- blesta-plugin
- Use for Plugins
- blesta-module
- Use for Modules
- blesta-gateway-merchant
- Use for Merchant Gateways
- blesta-gateway-nonmerchant
- Use for Non-merchant Gateways
- blesta-invoice-template
- Use for Invoice Templates
- blesta-report
- Use for Reports
Now list your extension with packagist (the default composer repository) and anyone can install your extension with composer!