I am using awesome Wordpress stack Bedrock from Roots.IO for my Wordpress projects. I created a fork from the original repository with a slight customizations to my specific situation, as the developers encourage us to do in their README file.
Recommended installing of Bedrock is done via Composer command composer create-project roots/bedrock
which downloads the package from Packagist. This works, although I need to work with a forked version of it.
If I get the idea of Composer right, I have a few options:
Forked repository to Packagist
Submit my forked repository to Packagist. This is not recommended by Packagist, yet I've tried it with some odd results (I can elaborate if needed).
Create-project with custom repository-url
Run create-project
command with --repository-url
option set to URL of my forked repository. This did not work as well with following errors (both for original and forked repository):
$ composer create-project wpgrouse/wpgrouse-bedrock --repository-url:https://github.com/wpgrouse/wpgrouse-bedrock.git
The file https://github.com/wpgrouse/wpgrouse-bedrock/packages.json could not be downloaded.
Well, there is no such file in Bedrock.
Use the original repository and create modifications each time manually
This sucks for obvious reasons.
Can you help me with this headache? I posted the question to Bedrock GitHub as well, but as I am in extreme hurry with this, I would like to seek some help here as well.
Thank you in advance, Petr!