Closed fordnox closed 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" ]
}
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"
]
}
}
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.
This is an awesome project. Can this be included to https://packagist.org/ ?