Skip to main content

Fetch module from PackDis

Prerequisites

Instructions

  • Add repository for pack dis in composer.json
      {
    "type": "composer",
    "url": "https://packages.econsor.net/r"
    }
  • Add auth information to auth.json
    • For http-basic:
      • URL: packages.econsor.net
      • Username: "token"
      • Password: {TOKEN YOU CREATED EARLIER}
  • Require your module:
    • For stable(tagged) versions you can require as normal
    • For unreleased release branches with a branch alias require with the version alias @dev i.e. "^0.1.0@dev" for alias "0.1.x-dev"
      • Branch aliases can be defined for unreleased release branches and look like the following:
          "extra": {
        "branch-alias": {
        "dev-{BRANCH NAME}": "{VERSION NUMBER}.x-dev"
        }
        }
        However these should be removed before a release gets tagged
    • For unmerged feature branches require: "{COMPOSER MODULE NAME}:{FEATURE BRANCH NAME} as {DESIRED VERSION NUMBER}"
    • For details regarding composer versionr requirements see: https://getcomposer.org/doc/articles/versions.md