PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Till Wehowski   PHP RDAP Server   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP RDAP Server
Process RDAP queries about an IP address or domain
Author: By
Last change:
Date: 10 months ago
Size: 1,739 bytes
 

Contents

Class file image Download

RDAP Server in PHP

This RDAP Server is OIDplus aware and provides a WHOIS result in the remarks of a RDAP result.

Installation

  • Install the dependencies:
    composer require frdl/rdap-server
    
    OR move into the directory and
    
    composer install
  • Make the `cache` and `logs` directory and their subdirectories writable.

Customization

  • Edit the file `public/index.html` to change the index page
  • The Infos are requested from OIDplus instance for the `domain` route per default. This produces overhead, see this issue for more info. To change this behavior edit the file `app/routes.php` to switch back to RDAP-only domain route.

DEMO

This demo shows the way and where we get all the OIDplus instances.

ToDo
  • move Env\Dotenv to composer deps
  • const for root instance/OID of the local RDAP instance/bootstrap
  • Instead of requesting all instances in a sequence, can we start asynchronous requests/threads (by e.g. exec, AMP framework, ...) and wait/collect (like Promise.all) for them in the main thread, to speed up the over all request response time for the end user???
  • And can we introduce a more powerful caching/proxy/index system, like and/or a global INDEX??? (global meaning global in the focus of the instance building a web/federation-index)
  • RDAP-Conformance also for OIDplus objectTypes ???
  • test
  • IO4/OIDplus/... - Plugable Adapters (for local instance)

Reference notes