packagist - Is there some public mirror for composer packages? -
my company's ips range seems blocked packagist.org's hosting service , can't reach domain. i've contacted them don't know how long take remove blockage. moreover, every external web proxy try use falls company's firewall i'm stuck.
is there public mirror composer packages don't have depend on packagist.org domain?
any other solution welcome well.
i couldn't find public mirror able solve packagist.org dependency editing ~/.composer/config.json
, adding dependent projects' github links repositories, eg:
{ "repositories": [ { "type": "vcs", "url": "https://github.com/smarty-php/smarty" }, { "type": "vcs", "url": "https://github.com/sebastianbergmann/phpunit" }, { "type": "vcs", "url": "https://github.com/sebastianbergmann/php-code-coverage" }, { "type": "vcs", "url": "https://github.com/sebastianbergmann/php-file-iterator" }, { "type": "vcs", "url": "https://github.com/sebastianbergmann/php-text-template" }, { "type": "vcs", "url": "https://github.com/sebastianbergmann/php-timer" }, { "type": "vcs", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects" }, { "type": "vcs", "url": "https://github.com/phpspec/prophecy" }, ... { "packagist": false } ] }
the drawback pretty obvious: had map every dependency , dependency's dependencies , point out theirs github link. @ least it's been faster wait ovh hosting service solve blockage problem.
Comments
Post a Comment