PHPackages                             helgesverre/domain-availability - 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. helgesverre/domain-availability

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

helgesverre/domain-availability
===============================

A PHP library for checking if a domain name is registered or not

1.7.0(10y ago)26618.4k↓34.8%137[1 PRs](https://github.com/HelgeSverre/Domain-Availability/pulls)1MITPHPPHP &gt;=7.0CI failing

Since Oct 5Pushed 4y ago23 watchersCompare

[ Source](https://github.com/HelgeSverre/Domain-Availability)[ Packagist](https://packagist.org/packages/helgesverre/domain-availability)[ Docs](https://helgesverre.com/products/domain-availability)[ RSS](/packages/helgesverre-domain-availability/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (15)Used By (1)

Domain Availability
===================

[](#domain-availability)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2a6e1cfe289d104c3eb9d8cd0b7aa204a646e5c96840e22d9c7309850f0c0d13/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68656c67657376657272652f646f6d61696e2d617661696c6162696c6974792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/helgesverre/domain-availability)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/58784601dda7a9a16b7b1209722daf8a9417c9461bed5f9408bc45c2d51abcfd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f68656c67657376657272652f646f6d61696e2d617661696c6162696c6974792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/helgesverre/domain-availability)

A PHP library used to check domain name availability.

[![#f03c15](https://camo.githubusercontent.com/0f961518a7ec2afddbe358d250696841250391fd10d08f87047ec0e63321be23/68747470733a2f2f706c616365686f6c642e69742f31352f6630336331352f3030303030303f746578743d2b)](https://camo.githubusercontent.com/0f961518a7ec2afddbe358d250696841250391fd10d08f87047ec0e63321be23/68747470733a2f2f706c616365686f6c642e69742f31352f6630336331352f3030303030303f746578743d2b) READ THIS, SERIOUSLY:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-read-this-seriously)

This is not a reliable way to check for domain availability on a large or even a medium scale, this will not handle your "webhosting business" or anything that requires a high level of data accuracy, if you need something like that, please use [WhoAPI](https://whoapi.com/documentation/api/domain-availability) or [Namecheap's API](https://www.namecheap.com/support/api/intro.aspx).

And no, I did **not build nor do i support** the WordPress plugin that is being sold on CodeCanyon which uses this package under the hood.

Install
-------

[](#install)

```
$ composer require --dev helgesverre/domain-availability
```

or

```
{
    "require": {
        "helgesverre/domain-availability": "~1.5.0"
    }
}

```

Usage
-----

[](#usage)

```
