Skip to content

contao-components/installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contao components installer

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"
    }
}

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"
    }
}

About

Contao components installer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages