A composer plugin, to install differenty types of composer packages in custom directories outside the default composer default installation path which is in the vendor folder.
{ "repositories": [ { "type": "vcs", "url": "git@bitbucket.org:ab/abc.git" } ], "prefer-stable": false, "require": { "mnsami/composer-custom-directory-installer": "*", "ab/abc": "v1.0.8" }, "extra": { "installer-paths": { "./smothing/": ["ab/abc"] } } }
. When i make a composer install i have a this package in vendor/ab/abc. Why? I would have a this package in root folder next to a composer.json
i have my package
{ "name": "ab/abc", "description": "Desc of abc, "type": "package", "authors": [ { "name": "Jacek", "email": "mail@mail.net" } ] }
and my composer.json file:
{ "repositories": [ { "type": "vcs", "url": "git@bitbucket.org:ab/abc.git" } ], "prefer-stable": false, "require": { "mnsami/composer-custom-directory-installer": "*", "ab/abc": "v1.0.8" }, "extra": { "installer-paths": { "./smothing/": ["ab/abc"] } } }
. When i make acomposer install
i have a this package in vendor/ab/abc. Why? I would have a this package in root folder next to a composer.jsonBest Regards. Jacek