title: Is it possible to install a package from a repository on Gitlab using Composer?
body: <p>I am trying to get composer to download a library from my repository on Gitlab, however, it does not have a composer.json file in it so I'm not sure if this is possible.</p>
  
  <pre><code>    "require": {
          "username/repository-name"
      },
      "repositories": [{
          "type": "package",
          "package": {
              "version": "dev-master",
              "name": "username/repository-name",
              "source": {
                  "url": "https://gitlab.com/username/repository.git",
                  "type": "git",
                  "reference": "master"
              }
          }
      }],
  </code></pre>