{"id":37015396,"url":"https://github.com/klkvsk/whoeasy","last_synced_at":"2026-01-14T01:34:25.515Z","repository":{"id":204501896,"uuid":"712005538","full_name":"klkvsk/whoeasy","owner":"klkvsk","description":"Smart WHOIS client and parser for PHP","archived":false,"fork":false,"pushed_at":"2024-05-09T10:00:23.000Z","size":313,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-04T14:47:42.387Z","etag":null,"topics":["dns","domains","parser","php","whois","whois-lookup","whois-parser"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klkvsk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-10-30T15:52:05.000Z","updated_at":"2024-05-09T10:00:26.000Z","dependencies_parsed_at":"2023-12-21T09:59:15.331Z","dependency_job_id":"d8b64313-c935-4fbc-ac6a-442e64584224","html_url":"https://github.com/klkvsk/whoeasy","commit_stats":null,"previous_names":["klkvsk/whoeasy"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/klkvsk/whoeasy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klkvsk%2Fwhoeasy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klkvsk%2Fwhoeasy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klkvsk%2Fwhoeasy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klkvsk%2Fwhoeasy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klkvsk","download_url":"https://codeload.github.com/klkvsk/whoeasy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klkvsk%2Fwhoeasy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408646,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dns","domains","parser","php","whois","whois-lookup","whois-parser"],"created_at":"2026-01-14T01:34:24.938Z","updated_at":"2026-01-14T01:34:25.503Z","avatar_url":"https://github.com/klkvsk.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Whoeasy - smart WHOIS client and parser for PHP\n====================\n\nLookup domain names, IP addresses and AS numbers by WHOIS.\nParse answers into structured data.\nUse proxies to counter rate limits.\n\nInstallation\n------------\n\nInstall from composer (until 1.0 prefer dev-master over releases, it's buggy anyway):\n\n```shell\ncomposer install klkvsk/whoeasy=dev-master\n```\n\nUsage\n-----\n\nThe main `Whois` class is a factory, and provides shorthand methods.\n\n```php\n// get raw text answer\n$rawText = \\Klkvsk\\Whoeasy\\Whois::getRaw(\"example.com\");\n\n// or with parsing\n$answer = \\Klkvsk\\Whoeasy\\Whois::getParsed(\"example.com\");\necho $answer-\u003eresult-\u003eregistrar-\u003ename;\n```\n\nYou can customize the factory by extending `Whois` \nor you can utilize `WhoisClient` and `WhoisParser` directly.\n\nWhoeasy is easily extensible. \nYou can add your own client adapters, parsers, server configs, proxy providers, etc.\n\nBuilt in client adapters are:\n- CurlTelnet - default if ext-curl is installed. Supports any proxies curl does.\n- Socket - fallback, uses `stream_socket_client`. Supports only HTTP(s)-tunnel proxies.\n\nWhois-servers registry\n-----\nBy default, the client will select an appropriate server for your query.\nThe list of servers is automatically generated from https://github.com/rfc1036/whois - \na default `whois` tool in most Linux distributions. This is the most up-to-date source\nof correct whois servers per tld.\n\nSee [generated registry](./src/Client/Registry/GeneratedServerRegistryData.php) \nfor compiled list. See [generator](./generator) for source lists and build script.\n\nCLI tool\n--------\nWhoeasy can be used as command line tool:\n```shell\n$ vendor/bin/whoeasy -h\n\nUsage:\n  whoeasy [options] \u003cdomain\u003e\n\nOptions:\n  -s, --server \u003cserver\u003e    use specified whois server\n  -f, --format \u003cformat\u003e    output format\n  -v, --verbose            show debug output and traces\n  -h, --help               show this message\n\nFormats:\n  w, raw      raw response\n  t, text     clean text response (comments removed)\n  r, result   structured result object [default]\n  f, fields   parsed key-value pairs\n  g, groups   key-value pairs split in blocks\n\n```\n\n\nToDos\n-----\n* Using RDAP as an alternative adapter\n* Replace Novutec parsing templates with own \n\n3rd Party Libraries\n-------------------\nParsing to a single format structure is based on Novutec WhoisParser\n* https://github.com/3name/WhoisParser\n\nIssues\n------\nPlease report any issues via https://github.com/klkvsk/whoeasy/issues\n\nLICENSE and COPYRIGHT\n-----------------------\nCopyright (c) 2023 Misha Kulakovsky (https://github.com/klkvsk)\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklkvsk%2Fwhoeasy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklkvsk%2Fwhoeasy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklkvsk%2Fwhoeasy/lists"}