How to create your own package for composer create-project
bitbucket, composer-php
Solution
As long as the package is available on packagist.org, you can use the `composer create-project` command.
If you don't want to put your package on packagist, please refer to composer create-project from private repo:
Like so...
composer create-project vendor/name path --repository-url=http://repo.yourcomposerrepo.com
Since you won't submit a private package to packagist. That url just needs a packages.json file at minimum, you could use satis or your own packagist if you want a more dynamic solution to the packages.json.
You can also just use `git clone` and then execute `composer install` yourself.
Problem
Laravel uses: ``` composer create-project laravel/laravel your-project-name --prefer-dist ``` How can I make my own package so that I can use ``` composer create-project mycompany/projectx your-project-name --prefer-dist ``` Can I use bitbucket a private repository for this ?