Loading Local Packages with Composer

Write composer.json as follows to require local packages:

{
    "require": {
        "foo/bar": "dev-master"
    },
    "repositories": [
        {
            "type": "path",
            "url": "../path/to/bar",
            "options": {
                "symlink": true
            }
        }
    ]
}

References: