cbschuld/Browser.php

Unable to install via Composer

cjsewell opened this issue · 2 comments

When adding Browser as a dependency in Composer, I get the following error:

[RuntimeException]
Failed to clone https://github.com/cbschuld/browser.php.git via git, https
protocols, aborting.

It appears that on packagist (https://packagist.org/packages/cbschuld/browser.php) the canonical url https://github.com/cbschuld/browser.php however it is actually https://github.com/cbschuld/Browser.php
(Not the capital B in Browser.php)

Although viewing either via a web browser doesn't seem to matter, it looks like Composer/Git does.

Is this an issue with Browser or is it a Composer or git issue?

My composer.json has
"require": {
"cbschuld/browser.php": "dev-master"
}

Cheers

this is a case problem. the correct url is:
git://github.com/cbschuld/Browser.php.git

workaround:

{
    "repositories": [
{
    "type" : "vcs",
    "url" : "git@github.com:cbschuld/Browser.php.git"
}
    ],
    "require": {
        "cbschuld/browser.php": "dev-master"
    }
}

Excellent, thanks for the workaround.