Written by James McDonald

December 23, 2019

So here is the link so I don’t forget it

https://getcomposer.org/doc/05-repositories.md#vcs

Add your repo’s URL into your composer.json in the repositories key and change the version on the original repo name to your dev-* version where * is a branch of your github repo (4.0.1-alpha). Then specify “dev-4.0.1-alpha” as the version

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/jmcd73/cakephp3-bootstrap-helpers"
    }
  ],
  "require": {
    "php": ">=5.5.9",
    "cakephp/cakephp": "~3.2",
    "mobiledetect/mobiledetectlib": "2.*",
    "cakephp/migrations": "~1.0",
    "cakephp/plugin-installer": "*",
    "twbs/bootstrap": "^4.0.0",
    "holt59/cakephp3-bootstrap-helpers": "dev-4.0.1-alpha"
  }
}

Refs:

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Meraki Open Source Licenses

Until today I assumed that Meraki was built in-house with only closed source software. But having a look at the...

VEEAM FAILS

If you have Veeam backup failing with the Updating BCD failed with Cannot update SafeBoot flag and SentinelOne is...