PHPackages                             galangw/whois-tools - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. galangw/whois-tools

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

galangw/whois-tools
===================

A reusable PHP package for WHOIS and RDAP lookups, with optional Laravel support.

1.1.0(9mo ago)037↑542.9%[1 issues](https://github.com/galangw/whois-tools/issues)MITPHPPHP ^8.1

Since Aug 6Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/galangw/whois-tools)[ Packagist](https://packagist.org/packages/galangw/whois-tools)[ RSS](/packages/galangw-whois-tools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (4)Used By (0)

galangw/whois-tools
===================

[](#galangwwhois-tools)

A reusable PHP package for WHOIS and RDAP domain lookups with strong TLD compatibility.

Features
--------

[](#features)

- **Standalone PHP API** - Works in any PHP project
- **Laravel Integration** - Service Provider + Facade included
- **Multiple Data Sources** - Support for both WHOIS and RDAP protocols
- **PSR-4 Autoloading** - Proper namespace structure
- **Comprehensive Data Parsing** - Extract registrar, dates, nameservers, and more

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- ext-mbstring (recommended for encoding conversion)
- Network access for WHOIS (port 43) and RDAP (HTTPS)

Installation
------------

[](#installation)

Install via Composer:

```
composer require galangw/whois-tools
```

For Laravel projects, the service provider is auto-discovered. For standalone usage, just include Composer's autoloader.

Usage
-----

[](#usage)

### 1) Standalone PHP

[](#1-standalone-php)

```
