Installing package with composer from git repository
<p>I am trying to install a package from private repository but I get an error of:</p>

<pre><code>Problem 1
- The requested package chef-php-api could not be found in any version, there may be a typo in the package name.

Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see &lt;https://getcomposer.org/doc/04-schema.md#minimum-stability&gt; for more details.
</code></pre>

<p>I have checked for the name issue, there doesn't seem to be a typo issue with a name to me, and I have a set "minimum-stability": "dev" in my composer.json, so not sure what I did wrong.</p>

<p>This is my composer.json file:</p>

<pre><code>{
  "name": "laravel/laravel",
  "description": "The Laravel Framework.",
  "keywords": ["framework", "laravel"],
  "license": "MIT",
  "type": "project",
  "repositories": [
    {
        "type": "git",
        "name": "chef-php-api",
        "url": "https://urlOfTheRepository/chef-php-api.git"
    }
  ],
  "require": {
    "php": "&gt;=5.5.9",
    "laravel/framework": "5.1.*",
    "chef-php-api": "*"
  },
  "require-dev": {
    "fzaninotto/faker": "~1.4",
    "mockery/mockery": "0.9.*",
    "phpunit/phpunit": "~4.0",
    "phpspec/phpspec": "~2.1"
  },
  "autoload": {
    "classmap": [
        "database"
    ],
    "psr-4": {
        "App\\": "app/"
    }
  },
  "autoload-dev": {
    "classmap": [
        "tests/TestCase.php"
    ]
  },
  "scripts": {
    "post-install-cmd": [
        "php artisan clear-compiled",
        "php artisan optimize"
    ],
    "post-update-cmd": [
        "php artisan clear-compiled",
        "php artisan optimize"
    ],
    "post-root-package-install": [
        "php -r \"copy('.env.example', '.env');\""
    ],
    "post-create-project-cmd": [
        "php artisan key:generate"
    ]
  },
  "config": {
    "preferred-install": "dist"
  },
  "minimum-stability": "dev",
  "prefer-stable": true
}
</code></pre>