https://github.com/frdl/rdap-server
Rdap Server (OIDplus aware, with WHOIS-fallback/-remarks)
https://github.com/frdl/rdap-server
oid oidplus php rdap server weid whois
Last synced: 5 months ago
JSON representation
Rdap Server (OIDplus aware, with WHOIS-fallback/-remarks)
- Host: GitHub
- URL: https://github.com/frdl/rdap-server
- Owner: frdl
- License: mit
- Created: 2023-12-08T07:48:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T14:22:15.000Z (over 1 year ago)
- Last Synced: 2024-11-12T15:27:16.637Z (over 1 year ago)
- Topics: oid, oidplus, php, rdap, server, weid, whois
- Language: PHP
- Homepage: https://frdlweb.de/api/rdap/whois
- Size: 2.62 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RDAP server application example
This is a sample application uses the [HiQDev RDAP library](https://github.com/hiqdev/rdap) which packs domain info into PHP objects and can serialize it to JSON string.
This implementation fetches public WHOIS servers, parses the response by [HiQDev RDAP-Whois proxy](https://github.com/hiqdev/rdap-whois-proxy), fills RDAP objects and responds according to the RFC7483.
# Install and run
The preferred way to install this project is through [composer](http://getcomposer.org/download/).
```sh
php composer.phar create-project "hiqdev/rdap-server-example:*" directory2install
```
Then run ``php composer.phar update`` to setup all dependencies
## Setup project
You can run this application by two ways.
1. With build-in PHP web server:
php -S {host}:{port} -t public/ public/index.php
2. With docker-compose:
docker-compose up -d --build
Now you can check you app on ``localhost:8080`` or on your custom port and see
Hello world!
## Usage
You can use this application to find domain names by URL
localhost:8080/domain/example.com
And see something like
"ldhName": "example.com",
"unicodeName": "example.com",
"entities": [
{
"vcardArray": [
[
...