koroban / WhoisParser

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

include project to packagist.org #4

Closed fordnox closed 11 years ago

fordnox commented 11 years ago

This is an awesome project. Can this be included to https://packagist.org/ ?

adduc commented 11 years ago

The autoload in composer.json needs to be added first. Something like the following should be sufficient enough.

"autoload": {
    "classmap": [ "Parser.php" ]
}
fordnox commented 11 years ago

This is what works right now:

{
    "require": {
        "php": ">=5.3.0",
        "novutec/TypoSquatting": "dev-master",
        "novutec/WhoisParser": "dev-master",
        "novutec/DomainParser": "dev-master"
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/novutec/WhoisParser"
        },
        {
            "type": "vcs",
            "url": "https://github.com/novutec/DomainParser"
        },
        {
            "type": "vcs",
            "url": "https://github.com/novutec/TypoSquatting"
        }
    ],
    "autoload": {
        "files": [
            "vendor/novutec/WhoisParser/Parser.php",
            "vendor/novutec/DomainParser/Parser.php",
            "vendor/novutec/TypoSquatting/Typo.php"
        ]
    }
}
seitsu commented 11 years ago

Yes, if you like to add it to packagist.org feel free to do it. I wanted too, but haven't found enough time to do it.