Giter VIP home page Giter VIP logo

php-whois-client's People

Contributors

mallardduck avatar peter279k avatar stylecibot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

php-whois-client's Issues

error handling

Hello

It is better to have error handling method for use in this script such as

try

catch

Unable to load the public suffix list rules for https://publicsuffix.org/list/public_suffix_list.dat

An uncaught Exception was encountered
Type: League\Uri\PublicSuffix\Exception

Message: Unable to load the public suffix list rules for https://publicsuffix.org/list/public_suffix_list.dat

Filename: /vendor/league/uri-hostname-parser/src/PublicSuffix/ICANNSectionManager.php

Line Number: 70

Backtrace:

File: /vendor/league/uri-components/src/Components/Host.php
Line: 472
Function: getRules

File: /vendor/league/uri-components/src/Components/Host.php
Line: 517
Function: lazyloadInfo

File: /vendor/mallardduck/whois-client/src/AbstractClient.php
Line: 116
Function: getRegistrableDomain

File: /vendor/mallardduck/whois-client/src/AbstractClient.php
Line: 135
Function: getSearchableHostname

File: /vendor/mallardduck/whois-client/src/Client.php
Line: 37
Function: parseWhoisDomain

Fatal error: Uncaught League\Uri\PublicSuffix\Exception

#13 #8

I think this issue is related to the league/uri-components version.

When command composer require mallardduck/whois-client , it will get the version 1.8.2, but actually the lower version 1.7.1 works well.

so could you please fix this version from composer ?

Replace hoa/socket with something else

Nothing wrong with hoa/socket it served a great purpose of getting the package this far. However if I can replace it with something more simple then that would be better.

The hoa/socket library depends on a number of hoa libraries that I don't need or use. So removing their usage could help improve maintainability over the long term.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.