Index of /OLD/Corpone/vendor/contao-components/installer

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[   ]composer.json 2016-11-08 09:22 877  
[   ]phpunit.xml.dist 2016-11-08 09:22 522  
[DIR]src/ 2016-11-08 09:22 -  

Contao components installer
===========================

[![](https://img.shields.io/travis/contao-components/installer/master.svg?style=flat-square)](https://travis-ci.org/contao-components/installer/)
[![](https://img.shields.io/scrutinizer/g/contao-components/installer/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/contao-components/installer/)
[![](https://img.shields.io/coveralls/contao-components/installer/master.svg?style=flat-square)](https://coveralls.io/github/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][1]
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][2], add the following to your `composer.json`:

```json
{
    "name": "vendor/name",
    "type": "contao-component",
    "license": "LGPL-3.0+"
    "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:

```json
{
    "config": {
        "component-dir": "assets"
    }
}
```


[1]: https://contao.org
[2]: https://github.com/contao/contao-components