koroban / WhoisParser

Lookup domain names, IP addresses and AS numbers by WHOIS
http://www.novutec.com
136 stars 124 forks source link

Cannot install dependencies via composer #11

Open mariuswilms opened 11 years ago

mariuswilms commented 11 years ago

When I try to install via composer install, the installation fails. It seems the dependency isn't listed with packagist yet.

(4549621...) ~/Code/WhoisParser > composer install
Loading composer repositories with package information
Installing dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package novutec/domainparser 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 <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
arendjantetteroo commented 11 years ago

The novutec packages are not on packagist (at least, not this repository. A fork is registered by 3name, but i'm not sure how up to date that one is). Maybe novutec can register the package on packagist?

In the meantime you need to add the novutec repositories to your composer.json like so : "repositories": [ { "type": "vcs", "url": "https://github.com/novutec/WhoisParser" }, { "type": "vcs", "url": "https://github.com/novutec/DomainParser" } ],

Afterwards composer should be able to read those repositories and install the package succesfully.

koroban commented 11 years ago

Thank you for your feedback - we will add that.