Contao components installer

Installs: 266 517

Dependents: 60

Suggesters: 0

Security: 0

Stars: 3

Watchers: 3

Forks: 0

Open Issues: 0

Type:composer-plugin

1.3.1 2018-12-21 15:54 UTC

This package is auto-updated.

Last update: 2019-12-21 17:58:17 UTC


README

Contao is an Open Source PHP Content Management System for people who want a professional website that is easy to maintain. Visit the project website for more information.

About

This custom Composer installer handles packages with the type attribute set to "contao-component" and installs them into a separate directory.

Usage

To create a Contao component, add the following to your composer.json:

{
    "name": "vendor/name",
    "type": "contao-component",
    "license": "LGPL-3.0-or-later",
    "require": {
        "contao-components/installer": "^1.0"
    }
}

Component directory

By default, the components will be installed into a components/ directory. To change the installation directory, add the following to the composer.json file of your project:

{
    "extra": {
        "contao-component-dir": "assets"
    }
}