frdl / rdap-server
Rdap Server (OIDplus aware, with WHOIS-fallback/-remarks)
Fund package maintenance!
wehowski
webfan.de/sponsor-me
domainundhomepagespeicher.de
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.2 | >=8.0
- ext-intl: *
- ext-json: *
- ext-mbstring: *
- bakame/twig-domain-parser-extension: *
- doctrine/annotations: *
- env/dotenv: *
- frdl/oid-connect-rdap: *
- frdl/php-floodprotection: *
- frdl/shutdown-helper: *
- guzzlehttp/guzzle: *
- guzzlehttp/psr7: *
- hiqdev/rdap-whois-proxy: *
- jeremykendall/php-domain-parser: *
- jeroendesloovere/vcard: *
- league/uri: *
- marc-mabe/php-enum: *
- monolog/monolog: *
- php-di/php-di: *
- sabre/vobject: *
- slim/psr7: *
- slim/slim: *
- symfony/cache: *
- symfony/property-access: *
- symfony/property-info: *
- symfony/serializer: *
- vendor-patch/rdap: *
Requires (Dev)
- hiqdev/hidev-hiqdev: dev-master
- hiqdev/hidev-php: *
This package is auto-updated.
Last update: 2024-11-13 01:52:14 UTC
README
This is a sample application uses the HiQDev RDAP library 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, fills RDAP objects and responds according to the RFC7483.
Install and run
The preferred way to install this project is through composer.
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.
-
With build-in PHP web server:
php -S {host}:{port} -t public/ public/index.php
-
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": [
[
...