{"id":13828302,"url":"https://github.com/mallardduck/php-whois-client","last_synced_at":"2025-10-25T22:07:55.217Z","repository":{"id":57016215,"uuid":"122703635","full_name":"mallardduck/php-whois-client","owner":"mallardduck","description":"A very basic Whois client for PHP. The library limits function to be a low-level client that handles only request and raw output.","archived":false,"fork":false,"pushed_at":"2023-01-22T01:58:44.000Z","size":356,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-04T09:50:21.948Z","etag":null,"topics":["php","php-library","whois","whois-client","whois-lookup"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mallardduck.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-24T04:40:42.000Z","updated_at":"2025-02-14T13:53:49.000Z","dependencies_parsed_at":"2023-02-12T14:03:05.005Z","dependency_job_id":null,"html_url":"https://github.com/mallardduck/php-whois-client","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/mallardduck/php-whois-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mallardduck%2Fphp-whois-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mallardduck%2Fphp-whois-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mallardduck%2Fphp-whois-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mallardduck%2Fphp-whois-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mallardduck","download_url":"https://codeload.github.com/mallardduck/php-whois-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mallardduck%2Fphp-whois-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281026310,"owners_count":26431773,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["php","php-library","whois","whois-client","whois-lookup"],"created_at":"2024-08-04T09:02:40.370Z","updated_at":"2025-10-25T22:07:55.200Z","avatar_url":"https://github.com/mallardduck.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Whois Client PHP Library\n[![Source Code](https://img.shields.io/static/v1?label=source\u0026message=mallardduck/php-whois-client\u0026color=blue\u0026style=for-the-badge)](https://packagist.org/packages/mallardduck/whois-client)\n[![License](https://img.shields.io/packagist/l/mallardduck/whois-client?style=for-the-badge)](https://packagist.org/packages/mallardduck/whois-client)\n[![PHP Version](https://img.shields.io/packagist/php-v/mallardduck/whois-client.svg?style=for-the-badge)](https://packagist.org/packages/mallardduck/whois-client)\n[![Latest Stable Version](https://img.shields.io/packagist/v/mallardduck/whois-client?logo=packagist\u0026label=Release\u0026style=for-the-badge)](https://packagist.org/packages/mallardduck/whois-client)\n[![Total Download Count](https://img.shields.io/packagist/dt/mallardduck/whois-client?logo=packagist\u0026style=for-the-badge)](https://packagist.org/packages/mallardduck/whois-client/stats)\n[![Travis Build Status](https://img.shields.io/travis/mallardduck/php-whois-client?logo=travis\u0026style=for-the-badge)](https://travis-ci.org/mallardduck/php-whois-client)\n[![Scrutinizer Code Quality](https://img.shields.io/scrutinizer/quality/g/mallardduck/php-whois-client?logo=scrutinizer\u0026style=for-the-badge)](https://scrutinizer-ci.com/g/mallardduck/php-whois-client/?branch=master)\n[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/mallardduck/php-whois-client?logo=scrutinizer\u0026style=for-the-badge)](https://scrutinizer-ci.com/g/mallardduck/php-whois-client/?branch=master)\n[![Coverage Status](https://img.shields.io/coveralls/github/mallardduck/php-whois-client?logo=coveralls\u0026style=for-the-badge)](https://coveralls.io/github/mallardduck/php-whois-client?branch=master)\n\n## A message to Russian 🇷🇺 people\n\nIf you currently live in Russia, please read [this message](./ToRussianPeople.md).\n\n## Purpose\n\nWhen you need to work with Whois lookups in PHP this library provides a very basic client!\n\nRather than focus on the user-friendly output this library focuses on the raw Whois protocol. The library is limited in\nfunction since its intended to be a low-level client that handles only request and raw output. Basically the package\nsupports the look-up of a TLDs primary Whois server and then will do a query of the domain provided.\n\nIf you're looking for a higher level client, please use: [Whodis](https://github.com/mallardduck/whodis).\n\n## Requirements\n* PHP \u003e= 8.1\n\n### Past PHP version support\n| PHP | Package |\n|-----|---------|\n| 8.0 | Current |\n| 7.4 | 2.0.7   |\n| 7.3 | 1.2.1   |\n\n\n## Features\n* Pure PHP based Whois client.\n* Simple API for getting raw Whois results in PHP.\n* Unicode IDN and punycode support.\n\n## Installation\nThe best installation method is to simply use composer.\n\nhttps://packagist.org/packages/mallardduck/whois-client\n\n### Stable version\n\n```bash\ncomposer require mallardduck/whois-client\n```\n\n## Example usage\n\n```php\nrequire __DIR__ . '/vendor/autoload.php';\n\nuse MallardDuck\\Whois\\Client;\n\n$client = new Client('whois.nic.me');\n$response = $client-\u003emakeRequest('danpock.me');\necho $response;\n```\n\n## License\n\nWhois Client PHP Library is open source software licensed under the [GPLv3 license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmallardduck%2Fphp-whois-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmallardduck%2Fphp-whois-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmallardduck%2Fphp-whois-client/lists"}