Skip to content
Bastian Feder edited this page Aug 22, 2013 · 3 revisions

There are a number of ways to get your hands on the sources of this bundle. Probably the most easy way is to use packagist.org. If you do not want to use it for any reason you can either get it directly from github or use your own fork. The following subsections will tell you how to get it in any way.

Get it from packagist.org

To obtain the sources via composer add the following lines to your composer.json file or complete the list of dependencies.

"require": {
    "liip/drupalconnectormodule": "*"
}

Then update the dependencies by running:

$> curl -s http://getcomposer.org/installer | php
$> php composer.phar install

Get it from github

Use your own fork

Forking the LiipDrupalConnectorModule is the best way to participate to the project. If you intend to do so. You will know what to do ;)

In case you want to use your own fork in a project with composer just add the following lines to your composer.json or add the inner lines to the specific sections.

"repositories": [
    {
        "type": "vcs",
        "url": "git@github.com:[YourGithubNick]/LiipDrupalConnectorModule.git"
    }
],

"require": {
    "liip/drupalconnectormodule": "*"
}

Use your own branch as alias

There is another delicious option of composer in case you want to declare your fork to be a specific version of the LiipDrupalConnectorModule. Per example if you sent a pull request, but do not want to wait until it is merged. In this case you can define an alias:

"repositories": [
    {
        "type": "vcs",
        "url": "git@github.com:[YouGithubNick]/LiipDrupalConnectorModule.git"
    }
],

"require": {
    "liip/drupalconnectormodule": "dev-YourBranchWithChanges as *"
}

Clone this wiki locally