Contao components installer

Installs: 1 113 910

Dependents: 83

Suggesters: 0

Security: 0

Stars: 6

Watchers: 4

Forks: 0

Open Issues: 0


1.4.1 2020-12-23 10:51 UTC

This package is auto-updated.

Last update: 2024-05-26 18:50:58 UTC


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.


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


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"

Components directory

Note that the components will only be installed if you specify an components directory in the composer.json file of your project:

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