php-ga
php-ga copied to clipboard
Error when pulling using Composer
Environment: Pagodabox
Composer.json: "united-prototype/php-ga": "dev-composer",
On push to server, composer errors out like so:
- Failed to clone https://github.com/Fran6co/php-ga.git via git, https protocols, aborting.
-
- - git://github.com/Fran6co/php-ga.git
- fatal: remote error:
- Repository not found.
-
- - https://github.com/Fran6co/php-ga.git
- error: The requested URL returned error: 403 while accessing https://github.com/Fran6co/php-ga.git/info/refs
-
- fatal: HTTP request failed
Because packagist is pointing to the wrong package, this is how I would load it. I am not sure if @thomasbachem added it to packagist himself...
"repositories": [
{
"type": "vcs",
"url": "https://github.com/thomasbachem/php-ga.git"
}
],
"require": {
"united-prototype/php-ga": "dev-composer",
...
},
This repo does not even have a composer.json. So it will not work like @djekl suggested.
If this lib is the newest version and only maintained, it would be probably best to contact the owner of https://packagist.org/packages/theiconic/php-ga-measurement-protocol which is @crowdpark and ask him to mark his package as abadoned and point to the new package here.