PHPackages                             spatie/laravel-rdap - 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. spatie/laravel-rdap

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

spatie/laravel-rdap
===================

Perform RDAP queries in a Laravel app

1.4.0(2mo ago)72108.3k—0.1%16[1 PRs](https://github.com/spatie/laravel-rdap/pulls)1MITPHPPHP ^8.2CI passing

Since May 25Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/spatie/laravel-rdap)[ Packagist](https://packagist.org/packages/spatie/laravel-rdap)[ Docs](https://github.com/spatie/laravel-rdap)[ RSS](/packages/spatie-laravel-rdap/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (26)Versions (20)Used By (1)

Perform RDAP queries in a Laravel app
=====================================

[](#perform-rdap-queries-in-a-laravel-app)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e8ebef0d08f7e83a7d7e2b71ac9d78c63dd9325173f42af36ec5c3d548e99058/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7370617469652f6c61726176656c2d726461702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/laravel-rdap)[![Total Downloads](https://camo.githubusercontent.com/3d2770c12b4e2e128ac7ec30fcb1b9532f614af4a02e30274e39d1337fc96382/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7370617469652f6c61726176656c2d726461702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spatie/laravel-rdap)

RDAP is a protocol to query domain registration data. It is seen as the successor to WHOIS. The main advantage over WHOIS is that the returned data is standardized and structured as JSON. A downside of RDAP is that, at the moment of writing, not all TLDs are supported.

This package contains a few classes to query basic data from RDAP. It also provides caching of the responses out of the box.

Support us
----------

[](#support-us)

[![](https://camo.githubusercontent.com/86507e0894b1731d7bcce3fbf5aa7e0080bd871d1f21abab512b1d444815d824/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f6c61726176656c2d726461702e6a70673f743d31)](https://spatie.be/github-ad-click/laravel-rdap)

We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).

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

[](#installation)

You can install the package via composer:

```
composer require spatie/laravel-rdap
```

You can publish the config file with:

```
php artisan vendor:publish --tag="rdap-config"
```

This is the contents of the published config file:

```
