domains icon indicating copy to clipboard operation
domains copied to clipboard

Lite & fast micro PHP domain parsing library that is **easy to use**.

Results 11 domains issues
Sort by recently updated
recently updated
newest added

Added the linter.yml in workflows and updated the composer.

hacktoberfest-accepted

I have added the code analyzer and corrected most errors in existing files. ![image](https://user-images.githubusercontent.com/22559451/195135110-35b6f504-40e8-4367-9544-3d012fb0cfea.png) I am currently unable to solve these 2. Please guide me on this

hacktoberfest-accepted

I dont think that this result is expected, also getRegisterable returns the complete domain name with the subdomain in it. Example: ``` Utopia\Domains\Domain Object ( [domain:protected] => notcivil.blogspot.com [TLD:protected] =>...

This PR adds `isExternal` onto the `Domain` class that performs a DNS Lookup and ensures that a domain does not attempt to access private domain ranges

### 👟 Reproduction steps ```php $domain_check = new Domain($data['domain']); var_dump($domain_check->get()); var_dump($domain_check->getTLD()); var_dump($domain_check->getSuffix()); var_dump($domain_check->getRegisterable()); var_dump($domain_check->getName()); var_dump($domain_check->getSub()); var_dump($domain_check->isKnown()); var_dump($domain_check->isICANN()); var_dump($domain_check->isPrivate()); var_dump($domain_check->isTest());die(); ``` ``` string(16) "www.test-8__.com" string(3) "com" string(3) "com" string(12) "test-8__.com" string(8)...

bug

- replace assertEquals with assertSame