2017 © Pedro Peláez
 

library domain-informer

HoPanel Component- Domain Parse and Information Tool

image

hopanel/domain-informer

HoPanel Component- Domain Parse and Information Tool

  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

[Türkçe]

Domain informer

Domain hakkında temel bilgileri verir. Php'nin buildin fonksiyonları ile çalışır., (*1)

Kullanımı

<?php

$url = 'https://user:pass@subdomain.domain.tld:9090/path/to/file.html?query=queryt#hash';
$parser = new Parser();
$result =  $parser->parseUrl($url);
print_r($result);
Hodi\HodiResponse Object                                   
(                                                          
    [data:Hodi\HodiResponse:private] => Array              
        (                                                  
            [scheme] => https                              
            [host] => subdomain.domain.exp                 
            [port] => 9090                                 
            [user] => user                                 
            [pass] => pass                                 
            [path] => /path/to/file.html                   
            [query] => query=queryt                        
            [fragment] => hash                             
            [nameservers] => Array                         
                (                                          
                )                                          

        )                                                  

    [status:protected] => 1                                
    [errorMessage:protected] =>                            
    [isDomain:protected] => 1                              
    [isIp:protected] =>                                    
    [domainScheme:protected] => https                      
    [domainHost:protected] => subdomain.domain.exp         
    [domainPort:protected] => 9090                         
    [domainUser:protected] => user                         
    [domainPass:protected] => pass                         
    [domainPath:protected] => /path/to/file.html           
    [domainQuery:protected] => query=queryt                
    [domainFragment:protected] => hash                     
    [domainNameservers:protected] => Array                 
        (                                                  
        )                                                  

)

Array sonuç almak için, (*2)

$parser->toArray();

Unit Tests

composer install
vendor/bin/phpunit tests

The Versions

26/10 2017

dev-master

9999999-dev https://github.com/HoPanel/domain-informer

HoPanel Component- Domain Parse and Information Tool

  Sources   Download

MIT

The Requires

  • php >=5.6.9

 

The Development Requires

parse url parse domain whois domain

03/04 2017

dev-unittest

dev-unittest https://github.com/HoPanel/domain-informer

HoPanel Component- Domain Parse and Information Tool

  Sources   Download

MIT

The Requires

  • php >=5.6.9

 

The Development Requires

parse url parse domain whois domain