There is nothing special about installing a package using composer create-project .
Just tell you the dependencies in the linker of your package, if you have one. The command will simply copy the package to the current directory and then run the installation link
You can use a private repository if you use authentication via ssh, for example:
{ "require": { "vendor/my-private-repo": "dev-master" }, "repositories": [ { "type": "vcs", "url": " git@bitbucket.org :vendor/my-private-repo.git" } ] }
See https://getcomposer.org/doc/05-repositories.md
source share