whatisgithub

What is php-whois?

akarshsatija/php-whois — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2014-02-06

1PHPAudience · pm founderComplexity · 2/5DormantSetup · easy

In one sentence

php-whois is a lightweight PHP class that looks up WHOIS domain registration data and checks whether a domain name is available.

Mindmap

mindmap
  root((php-whois))
    What it does
      Looks up WHOIS data
      Checks domain availability
      Single PHP class
    Tech stack
      PHP
    Use cases
      Build a domain search feature
      Check if desired domains are free
      Show registrar and expiration info
    Audience
      Founders
      PHP developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add a domain availability checker to a web hosting or naming app

USE CASE 2

Look up who owns a domain and its expiration date

USE CASE 3

Check a list of desired domain names for availability programmatically

What is it built with?

PHP

How does it compare?

akarshsatija/php-whoisagentpietrucha/ks_affiliationcyberwizard-dev/laravel-ftp-deployer
Stars111
LanguagePHPPHPPHP
Last pushed2014-02-06
MaintenanceDormant
Setup difficultyeasymoderateeasy
Complexity2/53/52/5
Audiencepm founderdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

So what is it?

php-whois is a small PHP tool that lets you look up WHOIS information for any domain name. In practical terms, that means you can check who owns a website address, whether it's already registered, and other public registration details like the registrar or expiration date. It's the kind of thing you'd use if you wanted to build a domain availability checker into your app. The tool is designed to be dropped into an existing PHP project. You include the class file, pass in a domain name, and it gives you back the raw WHOIS data. It also provides a simple method to check if a domain is available or already taken, so you don't have to parse the WHOIS response yourself to figure that out. This would be useful for founders or builders creating domain-related tools, think of a domain name search feature on a web hosting site, or a script that checks whether a list of desired domains has become available. If you're building something where users need to know if a name is up for grabs, this handles the lookup for you. The project is straightforward and lightweight. The README doesn't go into detail about features beyond the basic lookup and availability check, so if you need more advanced parsing or bulk queries, you'd likely need to build that on top yourself. It's essentially a single PHP class that does one job without much ceremony.

Copy-paste prompts

Prompt 1
Show me how to include this PHP class and check if a domain is available.
Prompt 2
Write a small PHP script that loops through a list of domains and prints which ones are free.
Prompt 3
Show me how to extract the registrar and expiration date from the raw WHOIS response.

Frequently asked questions

What is php-whois?

php-whois is a lightweight PHP class that looks up WHOIS domain registration data and checks whether a domain name is available.

What language is php-whois written in?

Mainly PHP. The stack also includes PHP.

Is php-whois actively maintained?

Dormant — no commits in 2+ years (last push 2014-02-06).

How hard is php-whois to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is php-whois for?

Mainly pm founder.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.